diff --git a/examples/with-react-intl/pages/_app.tsx b/examples/with-react-intl/pages/_app.tsx index 6bc246d015496264095a24724418608e05fe5ca1..d8ea69b8d942cff8e3d973440a39779ad78dfe16 100644 --- a/examples/with-react-intl/pages/_app.tsx +++ b/examples/with-react-intl/pages/_app.tsx @@ -71,7 +71,11 @@ const getInitialProps: typeof App.getInitialProps = async appContext => { App.getInitialProps(appContext), ]); - return {...(appProps as any), locale: supportedLocale, messages}; + return { + ...(appProps as any), + locale: supportedLocale, + messages: messages.default, + }; }; MyApp.getInitialProps = getInitialProps;