Skip to content

Commit c3cd694

Browse files
committed
Add comment
1 parent e08e942 commit c3cd694

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/component/src/providers/ClipboardWritePermissionWithStable/private/useStableStateHook.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export default function useStableStateHook<T>(
3636

3737
return _useMemo(
3838
() => Object.freeze(setValue ? ([propagatedValue, setValue] as const) : ([propagatedValue] as const)),
39+
// This deps is not checked by ESLint, verify with care.
3940
[propagatedValue, setValue]
4041
);
4142
}, [_useMemo, _useListen, _useState, setValue, valueRef]);

0 commit comments

Comments
 (0)