fix router

This commit is contained in:
Proddy
2023-11-26 15:56:46 +01:00
parent 1cbfc91912
commit 76901d97d2
16 changed files with 70 additions and 63 deletions

View File

@@ -1,6 +1,6 @@
import { useRequest, type Method } from 'alova';
import { useState } from 'react';
import { unstable_useBlocker as useBlocker } from 'react-router-dom';
import { useBlocker } from 'react-router-dom';
import { toast } from 'react-toastify';
import { useI18nContext } from 'i18n/i18n-react';