pull/10872/head
Prabhat Khera 2023-12-19 14:19:24 +13:00 committed by GitHub
parent e84dd27e88
commit 6b07c874fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,5 @@
import { Download } from 'lucide-react';
import { useLocalStorage } from '@/react/hooks/useLocalStorage';
import { useState } from 'react';
import { Widget, WidgetBody, WidgetTitle } from '@@/Widget';
import { FormSection } from '@@/form-components/FormSection';
@ -11,10 +10,7 @@ import { BackupFileForm } from './BackupFileForm';
import { BackupS3Form } from './BackupS3Form';
export function BackupSettingsPanel() {
const [backupType, setBackupType] = useLocalStorage(
'settings_backup_type',
options[0].value
);
const [backupType, setBackupType] = useState(options[0].value);
return (
<Widget>