diff --git a/src/plugins/pdfPreviewPlugin.tsx b/src/plugins/pdfPreviewPlugin.tsx index 85bfcaa..2f1987f 100644 --- a/src/plugins/pdfPreviewPlugin.tsx +++ b/src/plugins/pdfPreviewPlugin.tsx @@ -69,7 +69,7 @@ function PdfComponent({ ); } -type UseSignalPdfComponentProps = { +type SignalPdfComponentProps = { /** The PDF component will rerender when this signal emits. */ update: ISignal; /** Props for the PDF component. */ @@ -77,7 +77,7 @@ type UseSignalPdfComponentProps = { }; /** Wrapper around a PdfComponent that can update in response to a Lumino signal. */ -function SignalPdfComponent({ update, props }: UseSignalPdfComponentProps) { +function SignalPdfComponent({ update, props }: SignalPdfComponentProps) { return {() => }; }