mirror of
https://github.com/smyalygames/flightsim-on-linux.git
synced 2025-05-18 14:14:13 +02:00
fix: disable certain ESLint errors
This commit is contained in:
parent
8e0b0c3c03
commit
bfdbe85010
@ -13,7 +13,10 @@ export default {
|
||||
}
|
||||
},
|
||||
head: () => {
|
||||
// TODO Figure out the reason for these ESLint errors
|
||||
// eslint-disable-next-line react-hooks/rules-of-hooks
|
||||
const { asPath, defaultLocale, locale } = useRouter();
|
||||
// eslint-disable-next-line react-hooks/rules-of-hooks
|
||||
const { frontMatter } = useConfig();
|
||||
const url = 'https://www.flightsimonlinux.com' + (defaultLocale === locale ? asPath : `/${locale}${asPath}`);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user