File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import classNames from 'classnames'
33import { usePopper } from 'react-popper'
44import { Padding , Placement , VirtualElement } from '@popperjs/core'
55
6+ import './PreviewPopUp.scss'
7+
68export const PreviewPopUp = React . forwardRef <
79 PreviewPopUpHandle ,
810 React . PropsWithChildren < {
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export function PreviewPopUpContextProvider({ children }: React.PropsWithChildre
101101 const previewRef = useRef < PreviewPopUpHandle > ( null )
102102
103103 const [ previewSession , setPreviewSession ] = useState < PreviewSession | null > ( null )
104- const [ previewContent , setPreviewContent ] = useState < PreviewContent | null > ( null )
104+ const [ _previewContent , setPreviewContent ] = useState < PreviewContent | null > ( null )
105105
106106 const context : IPreviewPopUpContext = {
107107 requestPreview : ( anchor , content , opts ) => {
You can’t perform that action at this time.
0 commit comments