fix(crop): initialize openPresetGroup state to null
This commit is contained in:
@@ -1511,7 +1511,7 @@ export function CropOverlay({
|
||||
}) {
|
||||
const { t } = useI18n();
|
||||
const [aspectLocked, setAspectLocked] = useState(false);
|
||||
const [openPresetGroup, setOpenPresetGroup] = useState<string | null>("instagram");
|
||||
const [openPresetGroup, setOpenPresetGroup] = useState<string | null>(null);
|
||||
const dragRef = useRef<{
|
||||
mode: CropDragMode;
|
||||
start: MaskPoint;
|
||||
|
||||
Reference in New Issue
Block a user