Skip to content

Commit

Permalink
Remove auth
Browse files Browse the repository at this point in the history
  • Loading branch information
Bimman2021 authored Apr 28, 2023
1 parent 0fa5d86 commit db55d3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AUTH/protected.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { Outlet } from 'react-router-dom'
const Protected = () => {
const auth = useAuth();

if (!auth.user) {
/* if (!auth.user) {
return <Navigate to='/login' />
}
} */

return <Outlet />
}

export default Protected
export default Protected

1 comment on commit db55d3a

@vercel
Copy link

@vercel vercel bot commented on db55d3a Apr 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.