diff options
author | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-02-22 21:26:10 -0500 |
---|---|---|
committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-02-22 21:26:10 -0500 |
commit | 3f954b00b8624861386b23bdb75291bd6a260de8 (patch) | |
tree | 7bb4674cb48dc02dde800b5ed7edc5658ba53ab4 /src/client/views/LightboxView.tsx | |
parent | 0381050cab3cbcf6f1c3552fa86cace3a1654a07 (diff) | |
parent | f22163e9e4118df3faf06afc28045b84615fba0d (diff) |
merging
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; |