This commit is contained in:
ryan
2026-06-09 08:19:38 +08:00
parent d14d222ede
commit 7579d3865f
15 changed files with 30 additions and 40 deletions
@@ -1,7 +1,7 @@
"use client"
import {useEffect, useState} from "react"
import {useMutation, useQueryClient} from "@tanstack/react-query"
import {useMutation, useQueryClient, type UseQueryResult} from "@tanstack/react-query"
import {Loader2, Mail, Server} from "lucide-react"
import {Button} from "@/components/ui/button"
@@ -15,7 +15,7 @@ import {toast} from "sonner"
interface SystemTabProps {
configs: Record<string, SystemConfig>
systemConfigsQuery: any
systemConfigsQuery: UseQueryResult<SystemConfig[], Error>
}
export function SystemTab({ configs, systemConfigsQuery }: SystemTabProps) {