mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2024-12-25 16:23:19 +01:00
21 lines
604 B
TypeScript
21 lines
604 B
TypeScript
import type { AppProps } from 'next/app'
|
|
import '../app.css'
|
|
import AccountLayout from '@/components/layouts/account'
|
|
import TimelineLayout from '@/components/layouts/timelines'
|
|
import { IntlProviderWrapper } from '@/utils/i18n'
|
|
import { ToastProvider } from '@/utils/toast'
|
|
|
|
export default function MyApp({ Component, pageProps }: AppProps) {
|
|
return (
|
|
<IntlProviderWrapper>
|
|
<ToastProvider>
|
|
<AccountLayout>
|
|
<TimelineLayout>
|
|
<Component {...pageProps} />
|
|
</TimelineLayout>
|
|
</AccountLayout>
|
|
</ToastProvider>
|
|
</IntlProviderWrapper>
|
|
)
|
|
}
|