From da0ee0f325b971419a1f0337379257169aecb833 Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Wed, 19 Aug 2026 18:47:45 +0200 Subject: [PATCH] refactor(webui): adopt semantic page actions --- webui/src/features/payments/PaymentsPage.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webui/src/features/payments/PaymentsPage.tsx b/webui/src/features/payments/PaymentsPage.tsx index afb8a32..b8af8cb 100644 --- a/webui/src/features/payments/PaymentsPage.tsx +++ b/webui/src/features/payments/PaymentsPage.tsx @@ -1,4 +1,4 @@ -import { CheckCircle2, Plus, RefreshCw } from "lucide-react"; +import { CheckCircle2, Plus } from "lucide-react"; import { useEffect, useMemo, useRef, useState } from "react"; import { Button, @@ -7,7 +7,6 @@ import { DismissibleAlert, DocumentationHelpLink, FilterBar, - IconButton, MetricCard, MetricGrid, PageActionBar, @@ -281,7 +280,7 @@ export default function PaymentsPage({ settings, auth }: PlatformRouteContext) { interfaceId="payments.workspace.actions" helpContextId="payments.workspace" helpModuleId="payments" - reloadAction={} variant="ghost" onClick={() => void reload()} disabled={refreshing} />} + reloadAction={{ onReload: () => void reload(), loading: refreshing, label: "Reload payment requests" }} helpAction={} createAction={createButton} />