mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
added settings route to pending
This commit is contained in:
+3
-1
@@ -193,7 +193,9 @@ export default function App() {
|
||||
<Route path='post' element={<Catalog />} />
|
||||
<Route path='settings' element={<Catalog />} />
|
||||
</Route>
|
||||
<Route path={`/profile/c/:index`} element={<Pending setBodyStyle={setBodyStyle} /> } />
|
||||
<Route path={`/profile/c/:index`} element={<Pending setBodyStyle={setBodyStyle} /> }>
|
||||
<Route path='settings' element={<Pending />} />
|
||||
</Route>
|
||||
<Route path='*' element={<NotFound setBodyStyle={setBodyStyle} />} />
|
||||
</Routes>
|
||||
<StyledContainer />
|
||||
|
||||
@@ -132,13 +132,9 @@ const Home = () => {
|
||||
<div style={{
|
||||
textAlign: "center",
|
||||
fontSize: "11px",
|
||||
marginBottom: "1em",
|
||||
marginBottom: "2em",
|
||||
}}>
|
||||
Plebchan is free and open-source software distributed under GPL-2.0 license.
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
v.0.1.0
|
||||
Plebchan v.0.1.0 is free and open-source software distributed under GPL-2.0 license.
|
||||
</div>
|
||||
</Container>
|
||||
</>
|
||||
|
||||
@@ -15,7 +15,6 @@ import getDate from '../../utils/getDate';
|
||||
import handleQuoteClick from '../../utils/handleQuoteClick';
|
||||
import handleStyleChange from '../../utils/handleStyleChange';
|
||||
import useError from '../../hooks/useError';
|
||||
import useSuccess from '../../hooks/useSuccess';
|
||||
|
||||
|
||||
const Pending = () => {
|
||||
|
||||
Reference in New Issue
Block a user