refactor: migrate from react-router-dom to react-router
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { type ReactNode } from 'react'
|
||||
import { Navigate } from 'react-router-dom'
|
||||
import { Navigate } from 'react-router'
|
||||
import { useAuth } from '@/contexts/AuthContext'
|
||||
|
||||
interface ProtectedRouteProps {
|
||||
|
||||
Reference in New Issue
Block a user