This commit is contained in:
MartinBraquet
2025-12-26 19:16:34 +02:00
parent 1dcf86e5ba
commit 6da973dd0c

View File

@@ -1,4 +1,4 @@
import type {AppContext, AppProps} from 'next/app'
import type {AppProps} from 'next/app'
import Head from 'next/head'
import {useEffect, useState} from 'react'
import {Router} from 'next/router'
@@ -194,7 +194,7 @@ function MyApp(props: AppProps<PageProps>) {
<AuthProvider serverUser={pageProps.auth}>
<WebPush/>
<AndroidPush/>
<I18nContext.Provider value={{ locale, setLocale }}>
<I18nContext.Provider value={{locale, setLocale}}>
<Component {...pageProps} />
</I18nContext.Provider>
</AuthProvider>