From a8c5ef557d6edd964359a1cd9e4361e4660a10b6 Mon Sep 17 00:00:00 2001 From: hobokenchicken Date: Wed, 22 Apr 2026 15:41:20 -0400 Subject: [PATCH] fix: keep refresh only in requests tab --- frontend/src/app/dashboard/page.tsx | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/frontend/src/app/dashboard/page.tsx b/frontend/src/app/dashboard/page.tsx index 3d7c8ab..45c759a 100644 --- a/frontend/src/app/dashboard/page.tsx +++ b/frontend/src/app/dashboard/page.tsx @@ -3,7 +3,6 @@ import { useEffect, useState } from "react"; import { useRouter } from "next/navigation"; import { toast } from "sonner"; -import { RefreshCw } from "lucide-react"; import { Card, CardContent, @@ -82,7 +81,6 @@ export default function DashboardPage() { setIsLoading(false); } }; - const loadCosts = async () => { try { const costsRes = await overseerApi.getCosts(); @@ -96,20 +94,12 @@ export default function DashboardPage() { logout(); router.push("/login"); }; - const handleRefresh = () => { - loadWalletAndPending(); - loadCosts(); - }; if (isLoading) return
Loading...
; return (
-
- +
@@ -142,14 +132,10 @@ export default function DashboardPage() {
-
+
-