fix prettier

pull/2494/head
Jérémy Rialland 2023-02-01 12:39:16 +01:00 committed by Johan Girod
parent c8ee65baea
commit 13adc89c2f
1 changed files with 2 additions and 2 deletions

View File

@ -243,9 +243,9 @@ export const relativeSitePaths = encodedRelativeSitePaths
export const absoluteSitePaths = encodedAbsoluteSitePaths
export type RelativeSitePaths =
typeof relativeSitePaths[keyof typeof relativeSitePaths]
(typeof relativeSitePaths)[keyof typeof relativeSitePaths]
export type AbsoluteSitePaths =
typeof absoluteSitePaths[keyof typeof absoluteSitePaths]
(typeof absoluteSitePaths)[keyof typeof absoluteSitePaths]
export const useSitePaths = <T extends 'fr' | 'en'>(lang?: T) => {
const { language } = useTranslation().i18n