mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 18:15:35 +01:00
Merge remote-tracking branch 'origin/dev' into dev
Some checks are pending
Node.js CI / build (push) Waiting to run
Some checks are pending
Node.js CI / build (push) Waiting to run
This commit is contained in:
commit
80cad6ea65
118 changed files with 18151 additions and 136657 deletions
|
|
@ -2,8 +2,8 @@
|
|||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
||||
import { RouterProvider, ZenProvider } from '@umami/react-zen';
|
||||
import { useRouter } from 'next/navigation';
|
||||
import { NextIntlClientProvider } from 'next-intl';
|
||||
import { useEffect } from 'react';
|
||||
import { IntlProvider } from 'react-intl';
|
||||
import { ErrorBoundary } from '@/components/common/ErrorBoundary';
|
||||
import { useLocale } from '@/components/hooks';
|
||||
import 'chartjs-adapter-date-fns';
|
||||
|
|
@ -27,9 +27,9 @@ function MessagesProvider({ children }) {
|
|||
}, [locale, dir]);
|
||||
|
||||
return (
|
||||
<IntlProvider locale={locale} messages={messages[locale]} onError={() => null}>
|
||||
<NextIntlClientProvider locale={locale} messages={messages[locale]} onError={() => null}>
|
||||
{children}
|
||||
</IntlProvider>
|
||||
</NextIntlClientProvider>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue