mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-03 07:03:30 +00:00
format
This commit is contained in:
parent
d9bbdb0217
commit
c81914262a
@ -37,8 +37,7 @@ const LogsTerminal = ({
|
||||
windowWidth,
|
||||
timestamps,
|
||||
searchInput,
|
||||
setSearchInput,
|
||||
highLightSearched,
|
||||
|
||||
}: LogsTerminalProps) => {
|
||||
const [data, setData] = useState<DataType[]>([])
|
||||
const [loadedIndexes, setLoadedIndexes] = useState<{ [key: number]: boolean }>({})
|
||||
@ -133,8 +132,8 @@ const LogsTerminal = ({
|
||||
{({ index, style }) => {
|
||||
const highlight =
|
||||
searchInput && data[index].description.split(' ').includes(searchInput)
|
||||
// now we only check for the existing text at the moment
|
||||
// I have to move this statemant in the terminalRow component
|
||||
// now we only check for the existing text at the moment
|
||||
// I have to move this statemant in the terminalRow component
|
||||
return (
|
||||
<Stack style={style}>
|
||||
<TerminalRow
|
||||
|
Loading…
x
Reference in New Issue
Block a user