Closed wa0x6e closed 1 month ago
Currently, when we follow/unfollow a space, the ButtonFollow will switch to a loading state.
ButtonFollow
The loading state is currently global to the store, thus switching all the ButtonFollow to the loading state
This PR will "localize" the loading state to each button, so only the relevant button will switch to the loading state when necessary.
Summary
Currently, when we follow/unfollow a space, the
ButtonFollow
will switch to a loading state.The loading state is currently global to the store, thus switching all the ButtonFollow to the loading state
This PR will "localize" the loading state to each button, so only the relevant button will switch to the loading state when necessary.
How to test