Skip to content

Commit

Permalink
feat: create unauthorized access page in an org folder and update its…
Browse files Browse the repository at this point in the history
… component export
  • Loading branch information
yashdev9274 committed May 10, 2024
1 parent fb9c8b5 commit 7b647e6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/app/(main)/agency/unauthorized/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import Unauthorized from '@/components/unauthorized'
import React from 'react'

type Props = {}

const Page = (props: Props) => {
return <Unauthorized />
}

export default Page;
4 changes: 3 additions & 1 deletion src/components/unauthorized/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ const Unauthorized = (props: Props) => {
</Link>
</div>
)
}
}

export default Unauthorized;

0 comments on commit 7b647e6

Please sign in to comment.