Remove unused settings query from main HostDetail component

This commit is contained in:
Muhammad Ibrahim
2025-09-30 22:49:45 +01:00
parent 434fa86941
commit af62a466c8

View File

@@ -59,12 +59,6 @@ const HostDetail = () => {
refetchOnWindowFocus: false, // Don't refetch when window regains focus
});
// Fetch settings for dynamic curl flags
const { data: settings } = useQuery({
queryKey: ["settings"],
queryFn: () => settingsAPI.get().then((res) => res.data),
});
// Tab change handler
const handleTabChange = (tabName) => {
setActiveTab(tabName);