forked from Shiloh/remnantchat
feat: set page title
This commit is contained in:
parent
2a09eddb7d
commit
c9dadbb89e
@ -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
|
||||
|
@ -99,6 +99,10 @@ function Bootstrap({
|
||||
})()
|
||||
}, [hasLoadedSettings, persistedStorage, settings, userId])
|
||||
|
||||
useEffect(() => {
|
||||
document.title = title
|
||||
}, [title])
|
||||
|
||||
return (
|
||||
<ShellContext.Provider value={shellContextValue}>
|
||||
<Box
|
||||
|
Loading…
Reference in New Issue
Block a user