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

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>
)
}