mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
added pending view
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user