mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
Fix npe.
This commit is contained in:
parent
a47d90e5d3
commit
349b68c1f7
@ -68,7 +68,9 @@ const EditorPage = ({ isTryMode }: EditorPropsType): React.ReactElement => {
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
document.title = `${options.mapTitle} | WiseMapping `;
|
||||
if (options?.mapTitle) {
|
||||
document.title = `${options.mapTitle} | WiseMapping `;
|
||||
}
|
||||
});
|
||||
|
||||
return loadCompleted ? (
|
||||
|
Loading…
Reference in New Issue
Block a user