Improve text bug
This commit is contained in:
parent
7da573ffdb
commit
b426c40bd8
3 changed files with 13 additions and 6 deletions
|
@ -85,7 +85,7 @@ export default function ContextMenu({
|
|||
|
||||
const hasGroupSelected = useSelector((s) =>
|
||||
selectedShapeIds.some(
|
||||
(id) => tld.getShape(s.data, id).type === ShapeType.Group
|
||||
(id) => tld.getShape(s.data, id)?.type === ShapeType.Group
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue