``` logRef.current?.clear() logRef.current?.appendLines(allLogs) ``` When I try to replace the content in the way described above, there is an issue with the search.  