mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
fix useEffect at sidebar
This commit is contained in:
parent
f42aba2439
commit
53b61da68c
@ -119,7 +119,7 @@ export const Sidebar = () => {
|
|||||||
setJson(data.target?.result as string);
|
setJson(data.target?.result as string);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}, [jsonFile]);
|
}, [jsonFile, setJson]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<StyledSidebar>
|
<StyledSidebar>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user