chore: fix props import

This commit is contained in:
Mo
2022-05-13 08:39:17 -05:00
parent 65852618dc
commit c99c20b6ec
2 changed files with 6 additions and 2 deletions

View File

@@ -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<Props> = ({ application }) => {
const [droppedFile, setDroppedFile] = useState<FileBackupMetadataFile | undefined>(undefined)

View File

@@ -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
}