diff --git a/frontend/apps/editor3d/app/pages/PageEnigma/comps/PromptBox/PromptBox.tsx b/frontend/apps/editor3d/app/pages/PageEnigma/comps/PromptBox/PromptBox.tsx index 328d3c45b5..3fbc005d2e 100644 --- a/frontend/apps/editor3d/app/pages/PageEnigma/comps/PromptBox/PromptBox.tsx +++ b/frontend/apps/editor3d/app/pages/PageEnigma/comps/PromptBox/PromptBox.tsx @@ -93,7 +93,6 @@ export const PromptBox = () => { [], ); const [activeLibraryTab, setActiveLibraryTab] = useState("my-media"); - const [isGridVisible, setIsGridVisible] = useState(true); useEffect(() => { if (textareaRef.current) { @@ -121,10 +120,6 @@ export const PromptBox = () => { // eslint-disable-next-line react-hooks/exhaustive-deps }, [cameraAspectRatio.value]); - useEffect(() => { - setGridVisibility(isGridVisible); - }, [isGridVisible]); - const handleCameraSelect = (selectedItem: PopoverItem) => { const selectedCamera = cameras.value.find( (cam) => cam.label === selectedItem.label,