Whalebird-desktop-client-ma.../renderer/pages/_app.tsx

21 lines
604 B
TypeScript
Raw Normal View History

2023-11-01 17:20:27 +01:00
import type { AppProps } from 'next/app'
import '../app.css'
import AccountLayout from '@/components/layouts/account'
import TimelineLayout from '@/components/layouts/timelines'
2023-11-04 07:32:37 +01:00
import { IntlProviderWrapper } from '@/utils/i18n'
2023-11-23 06:07:48 +01:00
import { ToastProvider } from '@/utils/toast'
2023-11-01 17:20:27 +01:00
export default function MyApp({ Component, pageProps }: AppProps) {
return (
2023-11-04 07:32:37 +01:00
<IntlProviderWrapper>
2023-11-23 06:07:48 +01:00
<ToastProvider>
<AccountLayout>
<TimelineLayout>
<Component {...pageProps} />
</TimelineLayout>
</AccountLayout>
</ToastProvider>
2023-11-04 07:32:37 +01:00
</IntlProviderWrapper>
2023-11-01 17:20:27 +01:00
)
}