deps: react-helmet -> react-helmet-async 2
react-helmet 5 is unmaintained and breaks under React 18 StrictMode. Same <Helmet> API in the 15 pages; HelmetProvider wraps <App/> in the client entry. Browser-verified: per-page titles, meta description and hreflang alternates all inject. REST smoke byte-identical.
This commit is contained in:
parent
f51acf4d78
commit
f1eae84e25
19 changed files with 47 additions and 93 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
import { Alert } from 'react-bootstrap';
|
||||
import { translate, Trans } from 'react-i18next';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { Helmet } from 'react-helmet-async';
|
||||
|
||||
const NotFound = () => (
|
||||
<div className="NotFound">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue