Skip to content

Commit

Permalink
fix: click menu product display (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 authored Nov 8, 2023
1 parent 35b55e2 commit 33b942c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion website/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ const App = () => {
onClickMenuItem={handleClickMenuItem}
onClickSubMenu={handleClickSubMenu}
/>
<Content productIndex={productIndex} menuIndex={menuIndex} />
<Content
key={productIndex}
productIndex={productIndex}
menuIndex={menuIndex}
/>
</Container>
);
};
Expand Down

0 comments on commit 33b942c

Please sign in to comment.