Handle authentication on reader route
This commit is contained in:
@@ -277,7 +277,9 @@ const MainApp = () => {
|
|||||||
const ReaderApp = () => (
|
const ReaderApp = () => (
|
||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
<Routes>
|
<Routes>
|
||||||
|
<Route element={<PrivateRoutes />}>
|
||||||
<Route path={AppRoutes.matchAll.match} element={<Reader />} />
|
<Route path={AppRoutes.matchAll.match} element={<Reader />} />
|
||||||
|
</Route>
|
||||||
</Routes>
|
</Routes>
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user