Update TranslateSession.ts

This commit is contained in:
Steve Ruiz 2022-09-24 18:28:43 +01:00
parent a128b7464a
commit 6077ebdd90

View file

@ -558,8 +558,7 @@ export class TranslateSession extends BaseSession {
...beforeShapes[binding.fromId],
id: binding.fromId,
handles: {
// @ts-expect-error
...beforeShapes[binding.fromId].handles!,
...beforeShapes[binding.fromId]?.handles,
[binding.handleId]: {
...beforeShapes[binding.fromId]?.handles?.[binding.handleId],
bindingId: binding.id,