mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
fix eslint
This commit is contained in:
1 parent
63ded04e13
commit
e57cc96808
1 file changed
+1
-1
@@ -46,7 +46,7 @@ const useLogic = ({
|
||||
|
||||
useEffect(() => {
|
||||
setCurrentIndex(groupedItems.findIndex((item) => item.label === value));
|
||||
}, [groupedItems]);
|
||||
}, [groupedItems, value]);
|
||||
|
||||
const handleChangeCurrent = (nextCurrentIndex: number) => {
|
||||
const item = groupedItems[nextCurrentIndex];
|
||||
|
||||
Reference in new issue
Block a user