fix useEffect at sidebar

This commit is contained in:
Aykut Saraç 2022-02-09 15:21:04 +03:00
parent f42aba2439
commit 53b61da68c

View File

@ -119,7 +119,7 @@ export const Sidebar = () => {
setJson(data.target?.result as string);
};
}
}, [jsonFile]);
}, [jsonFile, setJson]);
return (
<StyledSidebar>