Set page title when changing path
This commit is contained in:
parent
25bb380976
commit
720c0bac9f
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ export function doChangePath(path) {
|
||||||
path,
|
path,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
const state = getState()
|
||||||
|
const pageTitle = selectPageTitle(state)
|
||||||
|
window.document.title = pageTitle
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue