mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-27 05:43:49 +01:00
Initialize page document
This commit is contained in:
parent
b9fe714961
commit
3db587aa4b
@ -23,6 +23,7 @@ const EditorPage = ({ isTryMode }: EditorPropsType): React.ReactElement => {
|
|||||||
const client: Client = useSelector(activeInstance);
|
const client: Client = useSelector(activeInstance);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
document.title = `${global.mapTitle ? global.mapTitle : 'unknown'} | WiseMapping `;
|
||||||
ReactGA.pageview(window.location.pathname + window.location.search);
|
ReactGA.pageview(window.location.pathname + window.location.search);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user