diff --git a/app/assets/javascripts/components/ApplicationView.tsx b/app/assets/javascripts/components/ApplicationView.tsx index 4c7fc910897..821be89779c 100644 --- a/app/assets/javascripts/components/ApplicationView.tsx +++ b/app/assets/javascripts/components/ApplicationView.tsx @@ -27,6 +27,7 @@ import { PremiumModalProvider } from './Premium'; import { ConfirmSignoutContainer } from './ConfirmSignoutModal'; import { TagsContextMenu } from './Tags/TagContextMenu'; import { ToastContainer } from '@standardnotes/stylekit'; +import { FilePreviewModalProvider } from './Files/FilePreviewModalProvider'; type Props = { application: WebApplication; @@ -175,88 +176,78 @@ export class ApplicationView extends PureComponent { const renderAppContents = !this.state.needsUnlock && this.state.launched; return ( - -
- {renderAppContents && ( -
- - - - - -
- )} - - {renderAppContents && ( - <> -