Skip to content

Commit

Permalink
Remove unused /en route
Browse files Browse the repository at this point in the history
  • Loading branch information
ucanyiit committed Feb 9, 2023
1 parent 481124c commit 10b6df6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fe/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ const App = () => {
justifyContent: 'center',
}}
>
{location.pathname !== '/' && location.pathname !== '/en' && (
{location.pathname !== '/' && (
<>
<Button
sx={{ m: 1 }}
size='large'
onClick={() =>
navigate(location.pathname.startsWith('/en') ? '/en' : '/')
navigate('/')
}
>
{t('page.main.title')}
Expand Down

0 comments on commit 10b6df6

Please sign in to comment.