refactor: reorganize imports and improve error handling across components

This commit is contained in:
Wikid82
2025-11-20 22:21:32 -05:00
parent 9f62a4a2df
commit 62904858b2
23 changed files with 271 additions and 169 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query'
import { Card } from '../components/ui/Card'
import { Button } from '../components/ui/Button'
import { Input } from '../components/ui/Input'
import { toast } from '../components/Toast'
import { toast } from '../utils/toast'
import { getSettings, updateSetting } from '../api/settings'
import client from '../api/client'
import { Loader2, Server, RefreshCw, Save, Activity } from 'lucide-react'