wiziple / gatsby-plugin-intl

Gatsby plugin that turns your website into an internationalization-framework out of the box.
http://gatsby-starter-default-intl.netlify.com
325 stars 178 forks source link

`TypeError: intl is undefined` on 404 page #39

Closed stefanfrede closed 5 years ago

stefanfrede commented 5 years ago

As far as I can tell I have more or less the same setup as the gatsby-starter-default-intl, but I get a TypeError: intl is undefined on the 404 page (https://postimg.cc/Zv03RQBc).

Here is a link to my repo: https://github.com/stefanfrede/50plus-treff/blob/i18n/src/pages/404.js.

I can't figure out if I forgot something or if I found a bug in the plugin, so every help is much appreciated.

The other pages are working.

wiziple commented 5 years ago

Can you try gatsby-plugin-intl@0.2.6? Thanks!

stefanfrede commented 5 years ago

Fixed!