Skip to content

Commit

Permalink
Fixes empty initial data bug on create mask
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecmart committed Feb 21, 2024
1 parent b03f1bb commit e245e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protoflow/src/CreateMaskButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default ({ nodeData, maskType }: Props) => {
}
const onOpenChange = (open) => {
if (!open) {
setMaskBodyData([])
setMaskBodyData(initialData)
clearNewData()
}
}
Expand Down

0 comments on commit e245e44

Please sign in to comment.