Skip to content

Commit

Permalink
Add loading spaces for button tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Mar 7, 2023
1 parent ccd1f96 commit 1bd7f62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/cards/SendTweetCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const SendTweetCard = ({ disabled, fetchedTweet, onSuccess }: SendTweetCardProps
else if (!fetchedTweet) disabledButtonTooltip = "Please find a tweet first";
else if (!hasToken) disabledButtonTooltip = "Please follow the command above to get some energy";
else if (!selectedSpaceId) disabledButtonTooltip = "Please select a space first";
else if (loadingSpaces) disabledButtonTooltip = "Loading spaces...";

return (
<WrapperCard id={"send-tweet-card"}>
Expand Down

0 comments on commit 1bd7f62

Please sign in to comment.