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 }