diff --git a/src/ViewerCore.tsx b/src/ViewerCore.tsx index c60a390..adb022f 100644 --- a/src/ViewerCore.tsx +++ b/src/ViewerCore.tsx @@ -7,7 +7,7 @@ import ViewerProps, { ImageDecorator, ToolbarConfig } from './ViewerProps'; import Icon, { ActionType } from './Icon'; import * as constants from './constants'; -function noop() {} +function noop() { } const transitionDuration = 300; @@ -124,6 +124,14 @@ export default class ViewerCore extends React.Component
{this.props.noClose || (