import { useEffect } from "react";
import type { AppProps } from "next/app";
import Script from "next/script";
import { SWRConfig } from "swr";
import { useRouter } from "next/router"
import { AppContext } from "@context/index";
import { NextIntlProvider } from 'next-intl'
function MyApp({ Component, pageProps }: AppProps) {
{
// Never retry on 401.
if (error.status === 401) return;
},
errorRetryCount: 2,
}}
>
<>
);
}
export default MyApp;
I am getting code: 'MISSING_MESSAGE', originalMessage: 'No messages were configured on the provider.' error even after following documentation of Next-intl it says message is not configured. I have configured that massage in the _app.tsx file page folder. please guide me to solve this issue.
