From 4500839c9f07153193b8542deda146f26801c578 Mon Sep 17 00:00:00 2001 From: Tal Derei Date: Sat, 25 Jan 2025 22:24:27 -0800 Subject: [PATCH] friendly sync error message --- packages/ui/components/ui/block-sync-status/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ui/components/ui/block-sync-status/index.tsx b/packages/ui/components/ui/block-sync-status/index.tsx index a383b5ea..0e6e17ac 100644 --- a/packages/ui/components/ui/block-sync-status/index.tsx +++ b/packages/ui/components/ui/block-sync-status/index.tsx @@ -16,7 +16,7 @@ export const CondensedBlockSyncStatus = ({ error?: unknown; }) => { if (error) { - return ; + return ; } if (!latestKnownBlockHeight || !fullSyncHeight) { return ; @@ -41,7 +41,7 @@ export const CondensedBlockSyncStatus = ({ ); }; -const BlockSyncErrorState = ({ error }: { error: unknown }) => { +const BlockSyncErrorState = () => { return ( {
- Block sync error: {String(error)} + Block sync error. Ensure your internet connection is stable