diff --git a/frontend/components/screen/widgets/FlowWidget.tsx b/frontend/components/screen/widgets/FlowWidget.tsx index 4bf23ba4..0caa97e4 100644 --- a/frontend/components/screen/widgets/FlowWidget.tsx +++ b/frontend/components/screen/widgets/FlowWidget.tsx @@ -160,6 +160,12 @@ export function FlowWidget({ return `flowWidget_searchFilters_${user.userId}_${flowId}_${selectedStepId}`; }, [flowId, selectedStepId, user?.userId]); + // ๐Ÿ†• ๊ทธ๋ฃน ์„ค์ • localStorage ํ‚ค ์ƒ์„ฑ + const groupSettingKey = useMemo(() => { + if (!selectedStepId) return null; + return `flowWidget_groupSettings_step_${selectedStepId}`; + }, [selectedStepId]); + // ๐Ÿ†• ์ €์žฅ๋œ ํ•„ํ„ฐ ์„ค์ • ๋ถˆ๋Ÿฌ์˜ค๊ธฐ useEffect(() => { if (!filterSettingKey || stepDataColumns.length === 0 || !user?.userId) return; @@ -247,12 +253,6 @@ export function FlowWidget({ setFilteredData([]); }, []); - // ๐Ÿ†• ๊ทธ๋ฃน ์„ค์ • localStorage ํ‚ค ์ƒ์„ฑ - const groupSettingKey = useMemo(() => { - if (!selectedStep) return null; - return `flowWidget_groupSettings_step_${selectedStep}`; - }, [selectedStep]); - // ๐Ÿ†• ๊ทธ๋ฃน ์„ค์ • ์ €์žฅ const saveGroupSettings = useCallback(() => { if (!groupSettingKey) return;