mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-20 05:12:54 +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);
|
||||
};
|
||||
}
|
||||
}, [jsonFile]);
|
||||
}, [jsonFile, setJson]);
|
||||
|
||||
return (
|
||||
<StyledSidebar>
|
||||
|
Loading…
x
Reference in New Issue
Block a user