Skip to content

Commit

Permalink
fix: getPreparedCopyItemOptions prop usage
Browse files Browse the repository at this point in the history
  • Loading branch information
DaryaLari committed Nov 14, 2024
1 parent 818450e commit b84e1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/OverlayControls/OverlayControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ class OverlayControls extends React.Component<OverlayControlsProps> {
this.context.context?.getPreparedCopyItemOptions;

if (typeof getPreparedCopyItemOptions === 'function') {
options = this.context.context.getPreparedCopyItemOptions(options);
options = getPreparedCopyItemOptions(options);
}

try {
Expand Down

0 comments on commit b84e1d4

Please sign in to comment.