added pending view

This commit is contained in:
plebbitor
2023-04-10 10:51:16 +02:00
parent 26cfd1f060
commit 1b18ba8b0f
4 changed files with 380 additions and 2 deletions
+2
View File
@@ -11,6 +11,7 @@ import Board from './components/views/Board';
import Thread from './components/views/Thread';
import Catalog from './components/views/Catalog';
import NotFound from './components/views/NotFound';
import Pending from './components/views/Pending';
import CaptchaModal from './components/CaptchaModal';
import { importAll } from './components/ImageBanner';
import preloadImages from './utils/preloadImages';
@@ -177,6 +178,7 @@ export default function App() {
<Route path='post' element={<Catalog />} />
<Route path='settings' element={<Catalog />} />
</Route>
<Route path={`/p/:subplebbitAddress/c/pending`} element={<Pending setBodyStyle={setBodyStyle} /> } />
<Route path='*' element={<NotFound setBodyStyle={setBodyStyle} />} />
</Routes>
<StyledContainer />