fix: correct import statements for api in backup JSX files

- Change default import to named import for api from config/api.ts
- Fixes build error: 'default' is not exported by src/config/api.ts
- Affected files: BackupHistory.jsx, RestoreWizard.jsx, BackupManagement.jsx

🤖 Generated with Claude Code

Co-Authored-By: Claude <[email protected]>
This commit is contained in:
2025-07-24 16:57:08 +02:00
co-authored by Claude
parent aa39e132aa
commit 30f6780484
3 changed files with 3 additions and 3 deletions
@@ -23,7 +23,7 @@ import { format, formatDistanceToNow } from 'date-fns';
import { toast } from 'react-toastify';
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
import { Button, Card, Input, Loading } from '../common';
import api from '../../config/api';
import { api } from '../../config/api';
const statusIcons = {
completed: { icon: CheckCircle, color: 'text-green-500' },