Skip to content

Commit

Permalink
fix: prevent draw prop from being stored on the instance
Browse files Browse the repository at this point in the history
  • Loading branch information
trezy committed Jun 14, 2024
1 parent 65c5ed8 commit 64bc403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/applyProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export function applyProps(instance, data)

localState.eventCount = Object.keys(localState.handlers).length;
}
else
else if (key !== 'draw')
{
currentInstance[key] = value;
}
Expand Down

0 comments on commit 64bc403

Please sign in to comment.