diff options
author | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-05-09 00:02:30 -0400 |
---|---|---|
committer | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-05-09 00:02:30 -0400 |
commit | 2f5f13946cf0a1ec87efddbfbbc6a9fd878da924 (patch) | |
tree | ea9ec90561f73ed1c977e0538699c5f53b3c4712 /src/client/util/CaptureManager.tsx | |
parent | 0766ba00727e9e13ced2e16cfb049d49711fa738 (diff) | |
parent | fa4d377b53c9ca31d8900d9c11bd25be57025962 (diff) |
Merge branch 'nathan-starter' of https://github.com/brown-dash/Dash-Web into nathan-starter
Diffstat (limited to 'src/client/util/CaptureManager.tsx')
-rw-r--r-- | src/client/util/CaptureManager.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/util/CaptureManager.tsx b/src/client/util/CaptureManager.tsx index 4fd934774..253cdd8b5 100644 --- a/src/client/util/CaptureManager.tsx +++ b/src/client/util/CaptureManager.tsx @@ -7,10 +7,9 @@ import * as React from 'react'; import { addStyleSheet } from '../../ClientUtils'; import { Doc } from '../../fields/Doc'; import { DocCast, StrCast } from '../../fields/Types'; -import { LightboxView } from '../views/LightboxView'; import { MainViewModal } from '../views/MainViewModal'; -import './CaptureManager.scss'; import { DocumentView } from '../views/nodes/DocumentView'; +import './CaptureManager.scss'; @observer export class CaptureManager extends React.Component<{}> { @@ -79,7 +78,7 @@ export class CaptureManager extends React.Component<{}> { <div className="save" onClick={() => { - LightboxView.Instance.SetLightboxDoc(this._document); + DocumentView.SetLightboxDoc(this._document); this.close(); }}> Save |