From c99c20b6ec51144fec722868ff8dabcad261054a Mon Sep 17 00:00:00 2001 From: Mo Date: Fri, 13 May 2022 08:39:17 -0500 Subject: [PATCH] chore: fix props import --- .../Preferences/Panes/Backups/Files/BackupsDropZone.tsx | 6 +++++- .../Preferences/Panes/Backups/Files/FileBackups.tsx | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/Components/Preferences/Panes/Backups/Files/BackupsDropZone.tsx b/app/assets/javascripts/Components/Preferences/Panes/Backups/Files/BackupsDropZone.tsx index 96bacced8..9effee653 100644 --- a/app/assets/javascripts/Components/Preferences/Panes/Backups/Files/BackupsDropZone.tsx +++ b/app/assets/javascripts/Components/Preferences/Panes/Backups/Files/BackupsDropZone.tsx @@ -7,8 +7,12 @@ import { EncryptionStatusItem } from '../../Security/Encryption' import { Icon } from '@/Components/Icon' import { StreamingFileApi } from '@standardnotes/filepicker' import { FunctionComponent } from 'preact' -import { Props } from './FileBackups' import { isHandlingBackupDrag } from '@/Utils/DragTypeCheck' +import { WebApplication } from '@/UIModels/Application' + +type Props = { + application: WebApplication +} export const BackupsDropZone: FunctionComponent = ({ application }) => { const [droppedFile, setDroppedFile] = useState(undefined) diff --git a/app/assets/javascripts/Components/Preferences/Panes/Backups/Files/FileBackups.tsx b/app/assets/javascripts/Components/Preferences/Panes/Backups/Files/FileBackups.tsx index ae40b5264..af07b3641 100644 --- a/app/assets/javascripts/Components/Preferences/Panes/Backups/Files/FileBackups.tsx +++ b/app/assets/javascripts/Components/Preferences/Panes/Backups/Files/FileBackups.tsx @@ -15,7 +15,7 @@ import { EncryptionStatusItem } from '../../Security/Encryption' import { Icon } from '@/Components/Icon' import { BackupsDropZone } from './BackupsDropZone' -export type Props = { +type Props = { application: WebApplication }