Merge pull request #15446 from KDSBrowne/2.6-console-err
fix(wb): Fix Console Type Error on Shape Hover
This commit is contained in:
commit
49b12e57c0
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user