From 2a19f06fb2eebc5b18ef1e77862f1e4aad7bfc10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Penido?= Date: Tue, 24 Sep 2024 18:25:20 -0300 Subject: [PATCH] fix: remove preview overlay from component sidebar --- src/library-authoring/component-info/ComponentPreview.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/library-authoring/component-info/ComponentPreview.tsx b/src/library-authoring/component-info/ComponentPreview.tsx index b3a12315ae..b6f21253a2 100644 --- a/src/library-authoring/component-info/ComponentPreview.tsx +++ b/src/library-authoring/component-info/ComponentPreview.tsx @@ -6,11 +6,6 @@ import { OpenInFull } from '@openedx/paragon/icons'; import { LibraryBlock } from '../LibraryBlock'; import messages from './messages'; -// This is a simple overlay to prevent interaction with the preview -const PreviewOverlay = () => ( -
-); - interface ModalComponentPreviewProps { isOpen: boolean; close: () => void; @@ -44,7 +39,6 @@ const ComponentPreview = ({ usageKey }: ComponentPreviewProps) => { return ( <>
-