fix prettier
parent
c8ee65baea
commit
13adc89c2f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue