diff --git a/packages/pl-fe/src/modals/circle-editor-modal.tsx b/packages/pl-fe/src/modals/circle-editor-modal.tsx index c117be244..6fbb077c8 100644 --- a/packages/pl-fe/src/modals/circle-editor-modal.tsx +++ b/packages/pl-fe/src/modals/circle-editor-modal.tsx @@ -45,7 +45,7 @@ const CircleEditorModal: React.FC = ({ const { data: circle } = useCircle(circleId); const { mutate: updateCircle, isPending: disabled } = useUpdateCircle(circleId); - const { data: accountIds = [] } = useCircleAccounts(circleId); + const { data: accountIds = [], isFetching: isFetchingAccounts } = useCircleAccounts(circleId); const { data: searchAccountIds = [] } = useAccountSearch(searchValue, { following: true, limit: 5, @@ -106,12 +106,12 @@ const CircleEditorModal: React.FC = ({ {accountIds.length > 0 ? ( -
+
= ({ ))}
+ ) : isFetchingAccounts ? ( +
+ +
) : ( - - - +
+ + + +
)}