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