From 9c45891e1bd9b221ea6591f715ad3ef37a5459cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Sat, 21 Feb 2026 22:43:34 +0100 Subject: [PATCH] nicolium: do the same to members list form MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- .../components/list-members-form.tsx | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/packages/pl-fe/src/modals/list-editor-modal/components/list-members-form.tsx b/packages/pl-fe/src/modals/list-editor-modal/components/list-members-form.tsx index 97d1d4f56..e4f779f38 100644 --- a/packages/pl-fe/src/modals/list-editor-modal/components/list-members-form.tsx +++ b/packages/pl-fe/src/modals/list-editor-modal/components/list-members-form.tsx @@ -28,7 +28,7 @@ const ListMembersForm: React.FC = ({ listId }) => { const [searchValue, setSearchValue] = useState(''); - const { data: accountIds = [] } = useListAccounts(listId); + const { data: accountIds = [], isFetching } = useListAccounts(listId); const { data: searchAccountIds = [] } = useAccountSearch(searchValue, { following: true, limit: 5, @@ -47,7 +47,7 @@ const ListMembersForm: React.FC = ({ listId }) => { return ( {accountIds.length > 0 ? ( -
+
@@ -63,13 +63,19 @@ const ListMembersForm: React.FC = ({ listId }) => { ))}
+ ) : isFetching ? ( +
+ +
) : ( - - - +
+ + + +
)}