mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
Initial
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import React from 'react'
|
||||
|
||||
const Client = () => {
|
||||
return (
|
||||
<div>
|
||||
Client Page
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Client
|
||||
@@ -0,0 +1,9 @@
|
||||
import ProtectedRoute from '../../../routes/ProtectedRoute'
|
||||
import Client from '../pages/Client'
|
||||
|
||||
export const ClientRoutes = {
|
||||
element: <ProtectedRoute allowedRoles={['client']} />,
|
||||
children: [
|
||||
{ path: '/client', element: <Client /> },
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user