import { Helmet } from 'react-helmet-async'; <Helmet> <title>{pageTitle}</title> <link rel="canonical" href={pageURL} /> </Helmet>