Skip to content

Commit

Permalink
fix: hides table of content when selecting monster
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustafssonz authored and syradar committed Nov 12, 2023
1 parent 49c3828 commit 4aa5427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/features/monsters/components/BackToAllMonsters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const BackToAllMonsters = () => {
const t = useAppSelector(selectTranslateFunction(['monster', 'common']))

return (
<div className="2xl:hidden">
<div>
<LinkWithIcon to="/monsters" icon="back">
{t('monster:back_to_all_monsters')}
</LinkWithIcon>
Expand Down
4 changes: 1 addition & 3 deletions src/features/monsters/pages/monsters.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,7 @@ export const MonstersPage = () => {
</div>

<div
className={`${
monsterSection === undefined ? '' : 'hidden 2xl:block'
}`}
className={`${monsterSection === undefined ? '' : 'hidden'}`}
>
<MonsterTableOfContents />
</div>
Expand Down

1 comment on commit 4aa5427

@vercel
Copy link

@vercel vercel bot commented on 4aa5427 Nov 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

yxans-klagan – ./

yxans-klagan-syradar.vercel.app
yxans-klagan-git-main-syradar.vercel.app
yxans-klagan.vercel.app

Please sign in to comment.