fix(extraSidebarComponent): add missing useRef import to fix compilation error
refactor(extraSidebarComponent): simplify handleSearchInput dependency array to only include 'data' variable refactor(extraSidebarComponent): simplify official property condition in JSX element
This commit is contained in:
parent
e91e24ee99
commit
5ff4b8189d
1 changed files with 4 additions and 0 deletions
|
|
@ -100,6 +100,10 @@ export default function ExtraSidebar(): JSX.Element {
|
|||
}
|
||||
}, [getFilterEdge, data]);
|
||||
|
||||
useEffect(() => {
|
||||
handleSearchInput(search);
|
||||
}, [data]);
|
||||
|
||||
const handleShareFlow = () => {
|
||||
const reactFlow = flow!.data as ReactFlowJsonObject;
|
||||
const saveFlow = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue