more cleanup
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import Login from './Login';
|
||||
import React from 'react';
|
||||
import useAuth from '../../providers/AuthProvider';
|
||||
import Login from './login/Login';
|
||||
import useAuth from '../providers/AuthProvider';
|
||||
|
||||
export default function ProtectedRoute({ children }: { children: React.ReactNode }) {
|
||||
const { user } = useAuth();
|
||||
|
||||
Reference in New Issue
Block a user