Skip to content

Commit

Permalink
fix: ensure tabs can update handlers when language changes (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
unix authored Feb 11, 2022
1 parent f9141f1 commit c8a0d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/layout/menu/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Menu: React.FC<unknown> = () => {
const defaultPath = `/${locale}/${tab}`
router.push(defaultPath)
},
[currentUrlTabValue],
[currentUrlTabValue, locale],
)

return (
Expand Down

0 comments on commit c8a0d64

Please sign in to comment.