Merge pull request #15446 from KDSBrowne/2.6-console-err

fix(wb): Fix Console Type Error on Shape Hover
This commit is contained in:
Ramón Souza 2022-07-27 16:20:24 -03:00 committed by GitHub
commit 49b12e57c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -217,7 +217,7 @@ export default function Whiteboard(props) {
} else {
// disable hover highlight for background slide shape
app.setHoveredId = (id) => {
if (id.includes('slide-background')) return null;
if (id?.includes('slide-background')) return null;
app.patchState(
{
document: {