Set page title when changing path

This commit is contained in:
6ea86b96 2017-05-22 19:58:17 +04:00
parent 25bb380976
commit 720c0bac9f
No known key found for this signature in database
GPG key ID: B282D183E4931E8F

View file

@ -43,6 +43,10 @@ export function doChangePath(path) {
path,
}
})
const state = getState()
const pageTitle = selectPageTitle(state)
window.document.title = pageTitle
}
}