fix: remove base component a11y label (#648)

This commit is contained in:
Innei
2023-06-16 22:05:09 +01:00
committed by GitHub
parent 979a0f00a0
commit 58c74390b7
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -25,6 +25,7 @@ export const BackToTopFAB = () => {
return (
<FABBase
id="to-top"
aria-label="Back to top"
show={shouldShow}
onClick={() => {
window.scrollTo({
+1 -2
View File
@@ -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}