Optimize route

This commit is contained in:
2024-01-24 16:09:16 +08:00
parent 7ad480e23a
commit 983d8e0923
5 changed files with 29 additions and 14 deletions

View File

@@ -1,7 +1,6 @@
import { PRODUCTION_NAME } from '@/constants/common.constants'
import { getRedirectUrl } from '@/util/route'
import { getLoginStatus, getVerifyStatus_async } from '@/util/auth'
import { Navigate } from 'react-router'
const AuthRoute = () => {
const [searchParams] = useSearchParams()