Skip to content

Commit

Permalink
fix(react): fix DragSourceWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Aug 9, 2021
1 parent 3d4dfe7 commit 894fe58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/widgets/DragSourceWidget/index.tsx
Expand Up @@ -44,7 +44,7 @@ export const DragSourceWidget: React.FC<IDragSourceWidgetProps> = observer(
}

const source =
workspace.source.size > 0 ? workspace.source : designer.source
workspace?.source?.size > 0 ? workspace.source : designer.source

return (
<div
Expand Down

0 comments on commit 894fe58

Please sign in to comment.