From abac7601a2fc2cfd0e2b6c27fbd46618b1826b07 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 22 Apr 2026 12:33:53 +0200 Subject: [PATCH] feat: add Refresh button to Downloaded Scripts tab --- src/app/_components/DownloadedScriptsTab.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/app/_components/DownloadedScriptsTab.tsx b/src/app/_components/DownloadedScriptsTab.tsx index c945770..c57f539 100644 --- a/src/app/_components/DownloadedScriptsTab.tsx +++ b/src/app/_components/DownloadedScriptsTab.tsx @@ -43,6 +43,7 @@ export function DownloadedScriptsTab() { data: localScriptsData, isLoading: localLoading, error: localError, + refetch: refetchLocal, } = api.scripts.getAllDownloadedScripts.useQuery(); const { data: scriptData } = api.scripts.getScriptBySlug.useQuery( { slug: selectedSlug ?? "" }, @@ -557,6 +558,16 @@ export function DownloadedScriptsTab() {
{/* Update all downloaded scripts */}
+