I followed all the steps on the Rendering Site Metadata video and upon restarting the server, I was getting the following error:
warn "export 'default' (imported as 'Helmet') was not found in 'react-helmet'
After looking for a while into it, I found the solution was to put “Helmet” in curly brackets in the layouts.js file. Like so:
I followed all the steps on the Rendering Site Metadata video and upon restarting the server, I was getting the following error: warn "export 'default' (imported as 'Helmet') was not found in 'react-helmet'
After looking for a while into it, I found the solution was to put “Helmet” in curly brackets in the layouts.js file. Like so:
Before
import Helmet from "react-helmet";
After
import { Helmet } from "react-helmet";