From 02a17e1465a8523be4a64d3e8f585822d648bbc7 Mon Sep 17 00:00:00 2001 From: Nick Pegg Date: Sat, 14 Oct 2017 10:19:38 -0700 Subject: [PATCH] Reset the page title in App if it doesn't look right --- src/App.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/App.js b/src/App.js index 4efabdb..af72355 100644 --- a/src/App.js +++ b/src/App.js @@ -21,6 +21,11 @@ import { Page } from './Page'; class App extends Component { render() { + // Ensure the title is something based on the configured title + if (!document.title.startsWith(config.title)) { + document.title = config.title; + } + return (