mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-18 23:17:20 -05:00
style(linting): lint
This commit is contained in:
parent
6168490f8c
commit
7db70e0b66
|
|
@ -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;
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
<script lang="ts" setup>
|
||||
const { messages, te, t, tm } = useI18n();
|
||||
|
||||
const fallbackLocale = messages.value['en-US'];
|
||||
const { te, t, tm } = useI18n();
|
||||
|
||||
const nOfQAs = computed(() => tm<string>('faq.QAs') as string[]).value.length;
|
||||
const maxCoreStaffIndex = computed(() => tm<string>('credits.people') as string[]).value.length - 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user