Fix invalid semicolon
This commit is contained in:
parent
d97a23b699
commit
1f16736e5a
1 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue