Skip to content

Commit

Permalink
fix: move PartnerDetail to base url
Browse files Browse the repository at this point in the history
Move PartnerDetail to base url to fix the issue where it was not accessible from the base url.
  • Loading branch information
luandro committed Oct 9, 2024
1 parent 708da8f commit 76273d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const App = () => (
<BrowserRouter>
<Routes>
<Route path={`${baseUrl}`} element={<Home />} />
<Route path={`${baseUrl}partners/:slug`} element={<PartnerDetail />} />
<Route path={`${baseUrl}/partners/:slug`} element={<PartnerDetail />} />
</Routes>
</BrowserRouter>
</TooltipProvider>
Expand Down

0 comments on commit 76273d4

Please sign in to comment.