`onCancel`,`onConfirm` requires unnecessary arguments.
skt-t1-byungi opened this issue · comments
Is fixed in latest version 0.5.0 which supports react-router-dom v6.7.0. Let me know if this issue is still present. Thanks!
A replacement component for the react-router 6 `Prompt`. Allows for more flexible dialogs.
https://codesandbox.io/s/react-router-prompt-example-react-router-6-7-y9ug7z?file=/src/App.js
skt-t1-byungi opened this issue · comments
Is fixed in latest version 0.5.0 which supports react-router-dom v6.7.0. Let me know if this issue is still present. Thanks!