style(interface settings): add description to each UI setting

This commit is contained in:
Tom (plebeius.eth)
2024-10-31 12:48:01 +01:00
parent 06cbb9639b
commit c6e301af0f
39 changed files with 285 additions and 53 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ import PostForm from './components/post-form';
import SubplebbitStats from './components/subplebbit-stats';
import TopBar from './components/topbar';
const CheckRouteParams = () => {
const ValidateRouteParams = () => {
const { accountCommentIndex, timeFilterName } = useParams();
const { timeFilterNames, lastVisitTimeFilterName } = useTimeFilter();
const { accountComments } = useAccountComments();
@@ -125,7 +125,7 @@ const App = () => {
<Route path='/' element={<Home />} />
<Route path='/faq' element={<FAQ />} />
<Route path='*' element={<NotFound />} />
<Route element={<CheckRouteParams />}>
<Route element={<ValidateRouteParams />}>
<Route element={<BoardLayout />}>
<Route path='/p/:subplebbitAddress' element={<Board />} />
<Route path='/p/:subplebbitAddress/settings' element={<Board />} />