Set titles on post mount/unmount
This commit is contained in:
parent
4fce19a7bf
commit
064177fbf7
2 changed files with 8 additions and 4 deletions
|
|
@ -62,10 +62,6 @@ class App extends Component {
|
|||
</Router>
|
||||
);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
document.title = config.title;
|
||||
}
|
||||
}
|
||||
|
||||
class ScrollToTop extends Component {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue