diff --git a/src/components/common/ConnectButton.tsx b/src/components/common/ConnectButton.tsx index b39a6263..a12a4e00 100644 --- a/src/components/common/ConnectButton.tsx +++ b/src/components/common/ConnectButton.tsx @@ -229,7 +229,7 @@ export const ConnectButton: React.FC<{ {isAllRead ? ( diff --git a/src/components/common/FollowingButton.tsx b/src/components/common/FollowingButton.tsx index 27c0ec6e..4b541cc8 100644 --- a/src/components/common/FollowingButton.tsx +++ b/src/components/common/FollowingButton.tsx @@ -81,6 +81,12 @@ export const FollowingButton: React.FC<{ loadingStatusChange, ]) + const isLoading = subscription.data + ? unsubscribeFromSite.isLoading || subscribeToSite.isLoading + : unsubscribeFromSite.isLoading || + subscribeToSite.isLoading || + subscription.isLoading + return (