We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5623d4 commit a9c35e5Copy full SHA for a9c35e5
src/EditCell.tsx
@@ -80,7 +80,7 @@ export default function EditCell<R, SR>({
80
81
// We need to prevent the `useLayoutEffect` from cleaning up between re-renders,
82
// as `onWindowCaptureMouseDown` might otherwise miss valid mousedown events.
83
- // To that end we instead access the latest props via useLatestFunc.
+ // To that end we instead access the latest props via useEffectEvent.
84
const commitOnOutsideMouseDown = useEffectEvent(() => {
85
onClose(true, false);
86
});
0 commit comments