Incorrect <title>
value set for external pattern-library pages
#1052
Labels
<title>
value set for external pattern-library pages
#1052
For consuming applications that add their own pattern library pages (routes), the HTML
<title>
element is getting set incorrectly when routing.The relevant
useEffect
hook in/src/pattern-library/components/PatternLibraryApp
is looking at the wrong set ofroutes
(this array only contains routes defined by the pattern library source):The net result is that page titles on pages added by applications get set to:
Page not found: Hypothesis Component Library
The text was updated successfully, but these errors were encountered: