Skip to content

Commit

Permalink
fix(web): update from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Jul 11, 2024
1 parent ddd2911 commit d29461a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function App() {
return <Loading />;
}

if ((selectedProduct === undefined) & (location.pathname !== "/products")) {
if ((selectedProduct === undefined) && (location.pathname !== "/products")) {
return <Navigate to="/products" />;
}

Expand Down

0 comments on commit d29461a

Please sign in to comment.