remove unneeded useeffect

This commit is contained in:
Josh Hawkins 2024-06-13 13:29:35 -05:00
parent de432d7dd5
commit fd79f0af45

View File

@ -200,14 +200,6 @@ export default function DraggableGridLayout({
birdseyeConfig, birdseyeConfig,
]); ]);
useEffect(() => {
if (currentGridLayout) {
setGridLayout(currentGridLayout);
}
// we know that these deps are correct
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isEditMode, setGridLayout]);
useEffect(() => { useEffect(() => {
if (isGridLayoutLoaded) { if (isGridLayoutLoaded) {
if (gridLayout) { if (gridLayout) {