diff --git a/src/components/OverlayControls/OverlayControls.tsx b/src/components/OverlayControls/OverlayControls.tsx index cef6744..86c26b6 100644 --- a/src/components/OverlayControls/OverlayControls.tsx +++ b/src/components/OverlayControls/OverlayControls.tsx @@ -420,7 +420,7 @@ class OverlayControls extends React.Component { this.context.context?.getPreparedCopyItemOptions; if (typeof getPreparedCopyItemOptions === 'function') { - options = this.context.context.getPreparedCopyItemOptions(options); + options = getPreparedCopyItemOptions(options); } try {