feat: set page title

This commit is contained in:
Jeremy Kahn 2022-08-31 19:18:14 -05:00
parent 2a09eddb7d
commit c9dadbb89e
2 changed files with 5 additions and 1 deletions

View File

@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Chitchatter</title>
<!-- Start Single Page Apps for GitHub Pages -->
<script type="text/javascript">
// Single Page Apps for GitHub Pages

View File

@ -99,6 +99,10 @@ function Bootstrap({
})()
}, [hasLoadedSettings, persistedStorage, settings, userId])
useEffect(() => {
document.title = title
}, [title])
return (
<ShellContext.Provider value={shellContextValue}>
<Box