Skip to content

Commit d40b13f

Browse files
committed
fix(react): fix smart select lifecycle hooks
1 parent 0f28259 commit d40b13f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react/shared/use-smart-select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ export const useSmartSelect = (smartSelect, smartSelectParams, f7SmartSelect, ge
2020
useEffect(() => {
2121
onMount();
2222
return onDestroy;
23-
});
23+
}, []);
2424
};

0 commit comments

Comments
 (0)