diff --git a/src/components/site/BackToTopFAB.tsx b/src/components/site/BackToTopFAB.tsx index 01551d4f..1339903f 100644 --- a/src/components/site/BackToTopFAB.tsx +++ b/src/components/site/BackToTopFAB.tsx @@ -25,6 +25,7 @@ export const BackToTopFAB = () => { return ( { window.scrollTo({ diff --git a/src/components/ui/FAB.tsx b/src/components/ui/FAB.tsx index d22a6c93..931f0f8c 100644 --- a/src/components/ui/FAB.tsx +++ b/src/components/ui/FAB.tsx @@ -64,7 +64,7 @@ export const FABBase = ( > >, ) => { - const { children, id, show = true, ...extra } = props + const { children, show = true, ...extra } = props const { className, onTransitionEnd, ...rest } = extra const [mounted, setMounted] = useState(true) @@ -98,7 +98,6 @@ export const FABBase = ( className, )} onTransitionEnd={handleTransitionEnd} - aria-label="back to top" {...rest} > {children}