Fix invalid semicolon

This commit is contained in:
infinite-persistence 2021-07-09 21:27:10 +08:00
parent d97a23b699
commit 1f16736e5a
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -97,13 +97,13 @@ class FileRender extends React.PureComponent<Props> {
case RENDER_MODES.IMAGE: case RENDER_MODES.IMAGE:
return ( return (
<React.Suspense fallback={null}> <React.Suspense fallback={null}>
<ImageViewer uri={uri} source={source} />; <ImageViewer uri={uri} source={source} />
</React.Suspense> </React.Suspense>
); );
case RENDER_MODES.HTML: case RENDER_MODES.HTML:
return ( return (
<React.Suspense fallback={null}> <React.Suspense fallback={null}>
<HtmlViewer source={downloadPath || source} />; <HtmlViewer source={downloadPath || source} />
</React.Suspense> </React.Suspense>
); );
case RENDER_MODES.DOCUMENT: case RENDER_MODES.DOCUMENT:
@ -127,7 +127,7 @@ class FileRender extends React.PureComponent<Props> {
case RENDER_MODES.PDF: case RENDER_MODES.PDF:
return ( return (
<React.Suspense fallback={null}> <React.Suspense fallback={null}>
<PdfViewer source={downloadPath || source} />; <PdfViewer source={downloadPath || source} />
</React.Suspense> </React.Suspense>
); );
case RENDER_MODES.CAD: case RENDER_MODES.CAD:
@ -155,7 +155,7 @@ class FileRender extends React.PureComponent<Props> {
case RENDER_MODES.APPLICATION: case RENDER_MODES.APPLICATION:
return ( return (
<React.Suspense fallback={null}> <React.Suspense fallback={null}>
<AppViewer uri={uri} />; <AppViewer uri={uri} />
</React.Suspense> </React.Suspense>
); );
} }