Skip to content

Commit 956bcbf

Browse files
committed
fix: remove optional from tags routing
relates to #27
1 parent 5634943 commit 956bcbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/qeta/src/components/HomePage/HomePage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ export const HomePage = (props: Props) => (
7474
<Route path="/ask" element={<AskPage />} />
7575
<Route path="/questions/:id/edit" element={<AskPage />} />
7676
<Route path="/questions/:id" element={<QuestionPage />} />
77-
<Route path="/tags/:tag?" element={<TagPage />} />
77+
<Route path="/tags" element={<TagPage />} />
78+
<Route path="/tags/:tag" element={<TagPage />} />
7879
<Route path="/users/*" element={<UserPage />} />
7980
</Routes>
8081
</Page>

0 commit comments

Comments
 (0)