From 730556a692090dba0ac8f01841a4f92142cfb7cc Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 22 Apr 2022 12:27:37 -0500 Subject: [PATCH] ScrollableList: render a spinner if placeholder isn't provided --- app/soapbox/components/scrollable_list.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/soapbox/components/scrollable_list.tsx b/app/soapbox/components/scrollable_list.tsx index e30989627..b1626d966 100644 --- a/app/soapbox/components/scrollable_list.tsx +++ b/app/soapbox/components/scrollable_list.tsx @@ -105,6 +105,8 @@ const ScrollableList: React.FC = ({ // Don't use Virtuoso's Footer component so it preserves spacing if (hasMore && Placeholder) { data.push(); + } else if (hasMore) { + data.push(); } return (