mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 12:36:57 +00:00
Simplify burger handling
This commit is contained in:
+1
-1
@@ -220,7 +220,7 @@ export const Map = ({
|
||||
|
||||
return (
|
||||
<section id="tournament-map" className="flex h-content flex-col">
|
||||
<div className="p-3 lg:hidden">{filters}</div>
|
||||
{filters && <div className="p-3 lg:hidden">{filters}</div>}
|
||||
|
||||
<MapContainer
|
||||
center={center}
|
||||
|
||||
@@ -4,9 +4,9 @@ import { useEffect, useRef, useState } from "react";
|
||||
|
||||
import { FaArrowUp } from "react-icons/fa";
|
||||
|
||||
import { handleScrollToTop } from "@/handlers/scrollHandlers";
|
||||
import { useBreakpoint } from "@/hooks/tailwind";
|
||||
import { ScrollableElement } from "@/types";
|
||||
import { handleScrollToTop } from "@/utils/scrollHandlers";
|
||||
|
||||
const ScrollToTopButton = () => {
|
||||
const scrollToTopElementRef = useRef<ScrollableElement | null>(null);
|
||||
|
||||
Reference in New Issue
Block a user