From d93c8a8061c4c8379d96c226dcd03929441cf86f Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 10 Sep 2025 19:59:41 +0300 Subject: [PATCH] improve ListFooter error state --- src/components/Lists.tsx | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/src/components/Lists.tsx b/src/components/Lists.tsx index 97cb4e7106..431a6b0c39 100644 --- a/src/components/Lists.tsx +++ b/src/components/Lists.tsx @@ -85,27 +85,23 @@ function ListFooterMaybeError({ a.align_center, t.atoms.bg_contrast_25, ]}> - - {error ? ( - cleanError(error) - ) : ( - Oops, something went wrong! + + + Oops, an error occurred + + {error && ( + + {cleanError(error)} + )} - +