added settings route to pending

This commit is contained in:
plebbitor
2023-04-23 08:43:53 +02:00
parent ccc4476f78
commit c6427e6aea
3 changed files with 5 additions and 8 deletions
+3 -1
View File
@@ -193,7 +193,9 @@ export default function App() {
<Route path='post' element={<Catalog />} /> <Route path='post' element={<Catalog />} />
<Route path='settings' element={<Catalog />} /> <Route path='settings' element={<Catalog />} />
</Route> </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} />} /> <Route path='*' element={<NotFound setBodyStyle={setBodyStyle} />} />
</Routes> </Routes>
<StyledContainer /> <StyledContainer />
+2 -6
View File
@@ -132,13 +132,9 @@ const Home = () => {
<div style={{ <div style={{
textAlign: "center", textAlign: "center",
fontSize: "11px", fontSize: "11px",
marginBottom: "1em", marginBottom: "2em",
}}> }}>
Plebchan is free and open-source software distributed under GPL-2.0 license. Plebchan v.0.1.0 is free and open-source software distributed under GPL-2.0 license.
<br />
<br />
<br />
v.0.1.0
</div> </div>
</Container> </Container>
</> </>
-1
View File
@@ -15,7 +15,6 @@ import getDate from '../../utils/getDate';
import handleQuoteClick from '../../utils/handleQuoteClick'; import handleQuoteClick from '../../utils/handleQuoteClick';
import handleStyleChange from '../../utils/handleStyleChange'; import handleStyleChange from '../../utils/handleStyleChange';
import useError from '../../hooks/useError'; import useError from '../../hooks/useError';
import useSuccess from '../../hooks/useSuccess';
const Pending = () => { const Pending = () => {