Skip to content

Commit

Permalink
feat: update competition side page paths
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamerblue committed Nov 27, 2024
1 parent b06cb39 commit 095a6b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/layouts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ class Index extends React.Component<Props, State> {
blockedByCompetitionSide ||
(isCompetitionSide() &&
(location.pathname === '/competitions' ||
location.pathname.startsWith('/competitions-public')));
location.pathname.startsWith('/competitions-public') ||
location.pathname.startsWith('/stats')));
return (
<Layout
className={classNames({
Expand Down

0 comments on commit 095a6b1

Please sign in to comment.