Skip to content

Commit

Permalink
Resolve review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mofojed committed May 9, 2024
1 parent 51972e2 commit e6ac2d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/ui/src/js/src/layout/ReactPanelContentOverlay.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/** A panel that uses the ReactPanelContentOverlayContext and if that content is set, renders it in a view with a partially transparent background */

import React from 'react';
import { usePanelContentOverlay } from './usePanelContentOverlay';

/** A panel that uses the ReactPanelContentOverlayContext and if that content is set, renders it in a view with a partially transparent background */
export function ReactPanelContentOverlay(): JSX.Element | null {
const overlayContent = usePanelContentOverlay();
return overlayContent != null ? (
Expand Down

0 comments on commit e6ac2d2

Please sign in to comment.