Skip to content

Commit a9c35e5

Browse files
committed
fix comment
1 parent f5623d4 commit a9c35e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EditCell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default function EditCell<R, SR>({
8080

8181
// We need to prevent the `useLayoutEffect` from cleaning up between re-renders,
8282
// as `onWindowCaptureMouseDown` might otherwise miss valid mousedown events.
83-
// To that end we instead access the latest props via useLatestFunc.
83+
// To that end we instead access the latest props via useEffectEvent.
8484
const commitOnOutsideMouseDown = useEffectEvent(() => {
8585
onClose(true, false);
8686
});

0 commit comments

Comments
 (0)