We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509703c commit ba31363Copy full SHA for ba31363
src/components/BackToTop/BackToTop.tsx
@@ -2,7 +2,7 @@ import { useState } from "react"
2
3
const BackToTop =() => {
4
5
- const [isVisible, setVisibility] = useState(!false)
+ const [isVisible, setVisibility] = useState(false)
6
7
const scrollToTop = () => {
8
let root = document.getElementById('root')
@@ -32,4 +32,4 @@ return (isVisible && (
32
));
33
}
34
35
-export { BackToTop };
+export { BackToTop };
0 commit comments