The 404 Page translations does not work as intended with the graphql integrated. By using the useTranslation() hook.
Found that it does not work even in the demo website which is given in the Gatsbyjs documentation
Demo Site URL: https://kind-lichterman-5edcb4.netlify.app/any-random-path-to-404
Documentation Link: https://www.gatsbyjs.com/plugins/gatsby-plugin-react-i18next/#:~:text=Demo-,View%20demo%20online,-Source%20code
Action: Try Switching the languages from the Navbar while in 404 page

Expected Result: The page loads up the translations and shows up the page with translated content
Received Result: The page crashes
