mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-26 18:46:39 -05:00
style(linting): lint
This commit is contained in:
@@ -16,9 +16,9 @@ function handleDropdownButton(dropdown: boolean | string) {
|
||||
const scrollY = ref<number>(0);
|
||||
|
||||
onMounted(() => {
|
||||
// eslint-disable-next-line no-undef
|
||||
// eslint-disable-next-line no-undef -- we're in on mounted so it should be fine
|
||||
window.addEventListener('scroll', () => {
|
||||
// eslint-disable-next-line no-undef
|
||||
// eslint-disable-next-line no-undef -- same here
|
||||
scrollY.value = window.scrollY;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user