react-lazylog icon indicating copy to clipboard operation
react-lazylog copied to clipboard

LazyLog Search Warning

Open sberequek opened this issue 3 years ago • 2 comments

Hi,

using the LazyLog component at the first search I get the following message:

Warning: Failed prop type: The prop `number` is marked as required in `t`, but its value is `undefined`.

I don't understand if some parameter is missing in the configuration, but from the examples it doesn't seem to me. Can you help me? here is the LazyLog configuration and the link to an example made with codesandbox.

<LazyLog height={300} extraLines={1} enableSearch text={log.join("\n")} />

Thanks for the support

sberequek avatar Aug 27 '21 16:08 sberequek

Hello, any suggestions to solve the problem?

sberequek avatar Aug 31 '21 12:08 sberequek

It's fixed in my fork:

GitHub: https://github.com/melloware/react-logviewer

Demo Site: https://melloware.github.io/react-logviewer/

melloware avatar Jul 26 '23 23:07 melloware