update
This commit is contained in:
@@ -16,6 +16,7 @@ import HomePage from './pages/HomePage';
|
||||
import EditOrganizationPage from "./pages/EditOrganizationPage.jsx";
|
||||
import CompanyPage from "./pages/CompanyPage.jsx";
|
||||
import EditCompanyPage from "./pages/EditCompanyPage.jsx";
|
||||
import CalenderPostPage from "./pages/CalenderPostPage.jsx";
|
||||
|
||||
const theme = createTheme({
|
||||
palette: {
|
||||
@@ -75,6 +76,14 @@ export default function App() {
|
||||
</PrivateRoute>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="calenderPosts"
|
||||
element={
|
||||
<PrivateRoute allowedRoles={['ADMIN', 'REPORTER']}>
|
||||
<CalenderPostPage />
|
||||
</PrivateRoute>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="posts"
|
||||
element={
|
||||
|
||||
Reference in New Issue
Block a user