Simplify burger handling

This commit is contained in:
Timothy Armes
2023-10-11 08:36:45 +02:00
committed by Owen Rees
parent effb912641
commit 94cea267c9
7 changed files with 23 additions and 130 deletions
+1 -1
View File
@@ -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);