Skip to content

Commit

Permalink
Merge pull request #196 from Flowpack/bugfix/disable-watch-in-details…
Browse files Browse the repository at this point in the history
…-view

BUGFIX: Disable clipboard and change watcher in details view
  • Loading branch information
Sebobo authored Jul 21, 2023
2 parents f1d98dc + 4c66a1e commit 84078eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { assetRemovedEvent } from '@media-ui/core/src/events';
import { clipboardState } from '@media-ui/feature-clipboard';

/**
* Renderless component to keep the clipboard updated when certain event occur
* Renderless component to keep the clipboard updated when certain events occur
*/
const ClipboardWatcher = () => {
const setClipboardState = useSetRecoilState(clipboardState);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ const Details = ({ buildLinkToMediaUi }: DetailsProps) => {
{showSimilarAssetsModal && <SimilarAssetsModal />}

<InteractionDialogRenderer />
<ClipboardWatcher />
<ConcurrentChangeMonitor />
</div>
);
};
Expand Down

0 comments on commit 84078eb

Please sign in to comment.