diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 13a00436..a871312d 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -33,7 +33,7 @@ function App() { const [favorites, setFavorites] = useState>(new Set()); const [view, setView] = useState('list'); const [showFavorites, setShowFavorites] = useState(false); - const navigate = useNavigate(); + const navigate = useNavigate(); const { pathname } = useLocation(); // Søk, filtre og sortering vises på listesiden /spill. Forsiden / har rader const onListPage = pathname === '/spill'; diff --git a/frontend/src/components/HomeHero/HomeHero.css b/frontend/src/components/HomeHero/HomeHero.css index 92f4b0c3..5bc8838b 100644 --- a/frontend/src/components/HomeHero/HomeHero.css +++ b/frontend/src/components/HomeHero/HomeHero.css @@ -43,4 +43,4 @@ .home-hero__search .game-search__input { font-size: 20px; } -} \ No newline at end of file +} diff --git a/frontend/src/components/HomeHero/HomeHero.tsx b/frontend/src/components/HomeHero/HomeHero.tsx index 80cc4969..702d2bd0 100644 --- a/frontend/src/components/HomeHero/HomeHero.tsx +++ b/frontend/src/components/HomeHero/HomeHero.tsx @@ -42,4 +42,4 @@ export function HomeHero({ onSearch, onSelectGame }: HomeHeroProps) {

); -} \ No newline at end of file +}