From b0d3ee93b04d5d8e4aea4d2b6d781ef631b923e6 Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Mon, 20 Apr 2026 15:11:47 +0200 Subject: [PATCH] fix: restore approvalCount state variable in FederationPanel --- .../modals/instanceSettingsPanels/FederationPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/components/modals/instanceSettingsPanels/FederationPanel.tsx b/packages/web/src/components/modals/instanceSettingsPanels/FederationPanel.tsx index 7c0fc858..6198c113 100644 --- a/packages/web/src/components/modals/instanceSettingsPanels/FederationPanel.tsx +++ b/packages/web/src/components/modals/instanceSettingsPanels/FederationPanel.tsx @@ -722,7 +722,7 @@ function PendingApprovals({ onCountChange }: { onCountChange?: (count: number) = export function FederationPanel({ onApprovalCountChange }: { onApprovalCountChange?: (count: number) => void }) { const addToast = useUIStore((s) => s.addToast); - const [, setApprovalCount] = useState(0); + const [approvalCount, setApprovalCount] = useState(0); const handleApprovalCountChange = useCallback((count: number) => { setApprovalCount(count);