fixed any bugs

This commit is contained in:
Amirhossein Mahmoodi
2023-08-07 15:00:56 +03:30
parent 65b13d3448
commit 1fd9ef6ae5

View File

@@ -15,7 +15,7 @@ const App = ({Component, pageProps}) => {
<LanguageProvider>
<NextIntlProvider messages={pageProps.messages || {}}>
<MuiLayout isBot={pageProps.isBot}>
{pageProps.message ? <TitlePage text={pageProps.title}/> : ''}
{pageProps.messages ? <TitlePage text={pageProps.title}/> : ''}
<LoadingProvider>
<AppLayout isBot={pageProps.isBot}>
<Component {...pageProps} />