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 Staff = () => {
|
||||
return (
|
||||
<div>
|
||||
Staff Page
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Staff
|
||||
@@ -0,0 +1,9 @@
|
||||
import ProtectedRoute from '../../../routes/ProtectedRoute'
|
||||
import Staff from '../pages/Staff'
|
||||
|
||||
export const StaffRoutes = {
|
||||
element: <ProtectedRoute allowedRoles={['staff']} />,
|
||||
children: [
|
||||
{ path: '/staff', element: <Staff /> },
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user