Skip to content

Commit

Permalink
Add conditional rendering for suppliers route
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Feb 3, 2025
1 parent 2f7ab32 commit 7175d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const App = () => (
<Route path="/privacy" element={<Privacy />} />
<Route path="/contact" element={<Contact />} />
<Route path="/locations" element={<Locations />} />
<Route path="/suppliers" element={<Suppliers />} />
{!env.HIDE_SUPPLIERS && <Route path="/suppliers" element={<Suppliers />} />}
<Route path="/faq" element={<Faq />} />
<Route path="/cookie-policy" element={<CookiePolicy />} />

Expand Down

0 comments on commit 7175d51

Please sign in to comment.