Skip to content

Commit

Permalink
SHARED(Frontend): useBlocker is no longer marked as unstable, modify …
Browse files Browse the repository at this point in the history
…import accordingly
  • Loading branch information
pkoivisto committed Sep 10, 2024
1 parent fddec18 commit 1091d45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useCallback, useEffect } from 'react';
import { Location, unstable_useBlocker as useBlocker } from 'react-router-dom';
import { Location, useBlocker } from 'react-router-dom';

export const useNavigationProtection = (
when: boolean,
Expand Down

0 comments on commit 1091d45

Please sign in to comment.