From ab24695371d8ec0fe9987d39bc3d1c8ef79ff866 Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 29 Apr 2023 14:34:19 +0200 Subject: [PATCH] use blocker from main lib --- interface/src/components/routing/BlockNavigation.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interface/src/components/routing/BlockNavigation.tsx b/interface/src/components/routing/BlockNavigation.tsx index 445cc7463..c8986c14a 100644 --- a/interface/src/components/routing/BlockNavigation.tsx +++ b/interface/src/components/routing/BlockNavigation.tsx @@ -1,7 +1,8 @@ import { Button, Dialog, DialogActions, DialogContent, DialogTitle } from '@mui/material'; -import type { Blocker } from '@remix-run/router'; import type { FC } from 'react'; +import type { unstable_Blocker as Blocker } from 'react-router-dom'; + import { useI18nContext } from 'i18n/i18n-react'; interface BlockNavigationProps {