diff options
author | bobzel <zzzman@gmail.com> | 2021-02-21 19:40:38 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-02-21 19:40:38 -0500 |
commit | dcf0389b770b06a04a45b4aedd62bf455d7848e7 (patch) | |
tree | 3153b4dd79c61318fe27391943055690b7056b63 /src/client/views/LightboxView.tsx | |
parent | 1c1b00e5e164ae82275e03b488a5a81eb1721234 (diff) |
fixed compile warnings.
Diffstat (limited to 'src/client/views/LightboxView.tsx')
-rw-r--r-- | src/client/views/LightboxView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/LightboxView.tsx b/src/client/views/LightboxView.tsx index 5e810d335..e967a5b07 100644 --- a/src/client/views/LightboxView.tsx +++ b/src/client/views/LightboxView.tsx @@ -148,7 +148,7 @@ export class LightboxView extends React.Component<LightboxViewProps> { LightboxView.SetLightboxDoc(undefined); return; } - const { doc, target } = LightboxView._history?.lastElement()!; + const { doc, target } = LightboxView._history?.lastElement(); const docView = target && DocumentManager.Instance.getLightboxDocumentView(target); if (docView && target) { LightboxView._doc = doc; |