Added a new project and fixed scrollupbutton
This commit is contained in:
@@ -7,7 +7,7 @@ export default function ScrollUpButton() {
|
||||
|
||||
useEffect(() => {
|
||||
const checkScroll = () => {
|
||||
isVisible.value = window.scrollY > 300;
|
||||
isVisible.value = window.scrollY > 50;
|
||||
};
|
||||
|
||||
checkScroll();
|
||||
|
||||
Reference in New Issue
Block a user