Skip to content

Commit ef46bbe

Browse files
committed
fix: allow changes to handlers (if dispatch changes)
1 parent 657c287 commit ef46bbe

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ShortcutsManager/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,9 @@ export default ({ children, dispatch }) => {
114114
}),
115115
[dispatch]
116116
)
117-
return <HotKeys handlers={handlers}>{children}</HotKeys>
117+
return (
118+
<HotKeys allowChanges handlers={handlers}>
119+
{children}
120+
</HotKeys>
121+
)
118122
}

0 commit comments

Comments
 (0)