Skip to content

Commit

Permalink
FIX Remove unstable prefix from useBlocker
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jan 9, 2024
1 parent 45a4197 commit 4dd2432
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

@@ -1,6 +1,6 @@
import { useEffect } from 'react';
import PropTypes from 'prop-types';
import { unstable_useBlocker as useBlocker } from 'react-router-dom';
import { useBlocker } from 'react-router-dom';

export default function NavigationBlocker({ shouldBlockFn, blockMessage }) {
const blocker = useBlocker(shouldBlockFn);
Expand Down

0 comments on commit 4dd2432

Please sign in to comment.