From 83ebc853d63eb09b1e53c7bc0683a6687efc86f3 Mon Sep 17 00:00:00 2001 From: Alex Freska Date: Wed, 7 Feb 2024 15:02:45 -0500 Subject: [PATCH] fix: renterd react key error --- .../Files/FilesStatsMenu/FilesStatsMenuWarnings.tsx | 8 ++++---- apps/renterd/contexts/keys/index.tsx | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/renterd/components/Files/FilesStatsMenu/FilesStatsMenuWarnings.tsx b/apps/renterd/components/Files/FilesStatsMenu/FilesStatsMenuWarnings.tsx index 0ed8d8c22..ddbcdb09b 100644 --- a/apps/renterd/components/Files/FilesStatsMenu/FilesStatsMenuWarnings.tsx +++ b/apps/renterd/components/Files/FilesStatsMenu/FilesStatsMenuWarnings.tsx @@ -22,7 +22,7 @@ export function FilesStatsMenuWarnings() { const syncStatusEl = useMemo(() => { if (!syncStatus.isSynced) { return ( -
+
Uploads are disabled until renterd is synced. @@ -39,7 +39,7 @@ export function FilesStatsMenuWarnings() { const autopilotNotConfiguredEl = useMemo(() => { if (autopilotNotConfigured.active) { return ( -
+
Uploads are disabled until settings are configured. @@ -58,7 +58,7 @@ export function FilesStatsMenuWarnings() { const notEnoughContractsEl = useMemo(() => { if (notEnoughContracts.active) { return ( -
+
Uploads are disabled until settings are configured. @@ -76,7 +76,7 @@ export function FilesStatsMenuWarnings() { const contractSetMismatchEl = useMemo(() => { if (contractSetMismatch.active) { return ( -
+
Uploaded data will not be managed by autopilot. diff --git a/apps/renterd/contexts/keys/index.tsx b/apps/renterd/contexts/keys/index.tsx index 7ccf10009..e790b2e99 100644 --- a/apps/renterd/contexts/keys/index.tsx +++ b/apps/renterd/contexts/keys/index.tsx @@ -34,7 +34,6 @@ function useKeysMain() { if (!response.data) { return null } - console.log(response.data?.v4Keypairs) const data: KeyData[] = Object.entries(response.data?.v4Keypairs || {}).map(([key, secret]) => { return {