Skip to content

Commit c867074

Browse files
committed
SHARED(Frontend): useBlocker is no longer marked as unstable, modify import accordingly
1 parent 97c5c4a commit c867074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/packages/shared/src/hooks/useNavigationProtection/useNavigationProtection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useCallback, useEffect } from 'react';
2-
import { Location, unstable_useBlocker as useBlocker } from 'react-router-dom';
2+
import { Location, useBlocker } from 'react-router-dom';
33

44
export const useNavigationProtection = (
55
when: boolean,

0 commit comments

Comments
 (0)