From 300393dae15e8483b2293b44dea00866e826fe90 Mon Sep 17 00:00:00 2001 From: liangxu Date: Thu, 16 Jul 2026 21:46:28 +0800 Subject: [PATCH] fix(crop): initialize openPresetGroup state to null --- frontend/src/ui/components/ImageNodeActions/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ui/components/ImageNodeActions/index.tsx b/frontend/src/ui/components/ImageNodeActions/index.tsx index 1c7f8ab..b731710 100644 --- a/frontend/src/ui/components/ImageNodeActions/index.tsx +++ b/frontend/src/ui/components/ImageNodeActions/index.tsx @@ -1511,7 +1511,7 @@ export function CropOverlay({ }) { const { t } = useI18n(); const [aspectLocked, setAspectLocked] = useState(false); - const [openPresetGroup, setOpenPresetGroup] = useState("instagram"); + const [openPresetGroup, setOpenPresetGroup] = useState(null); const dragRef = useRef<{ mode: CropDragMode; start: MaskPoint;