Skip to content

Commit

Permalink
fix: getPreparedCopyItemOptions prop usage (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaryaLari authored Nov 14, 2024
1 parent 818450e commit 083a1bf
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 083a1bf

Please sign in to comment.