Improve text bug

This commit is contained in:
Steve Ruiz 2021-06-30 23:44:25 +01:00
parent 7da573ffdb
commit b426c40bd8
3 changed files with 13 additions and 6 deletions

View file

@ -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
)
)