mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-24 02:29:35 -06:00
Add admin prop to pagespeed page
This commit is contained in:
@@ -33,7 +33,7 @@ function App() {
|
||||
const AdminCheckedRegister = withAdminCheck(Register);
|
||||
const MonitorsWithAdminProp = withAdminProp(Monitors);
|
||||
const DetailsWithAdminProp = withAdminProp(Details);
|
||||
|
||||
const PageSpeedWithAdminProp = withAdminProp(PageSpeed);
|
||||
return (
|
||||
<>
|
||||
<Routes>
|
||||
@@ -98,7 +98,7 @@ function App() {
|
||||
/>
|
||||
<Route
|
||||
path="pagespeed"
|
||||
element={<ProtectedRoute Component={PageSpeed} />}
|
||||
element={<ProtectedRoute Component={PageSpeedWithAdminProp} />}
|
||||
/>
|
||||
<Route
|
||||
path="pagespeed/create"
|
||||
|
||||
Reference in New Issue
Block a user