Optimize scroll in Home

This commit is contained in:
2023-09-11 23:22:51 +08:00
parent 28ff5c5534
commit f4425db537
2 changed files with 10 additions and 29 deletions

View File

@@ -35,7 +35,7 @@ const MainFramework: React.FC = () => {
const hideScrollbarRef = useRef<HideScrollbarElement>(null)
const [navbarHidden, setNavbarHidden] = useState(true)
const [preventScroll, setPreventScroll] = useState(true)
const [preventScroll, setPreventScroll] = useState(false)
useEffect(() => {
setNavbarHidden(false)