Fix(republish button): made republish button disabled when clicked
Since we are using ActionButton on the republishing in Elife, it treats the disabling action differently in color scheme as compared to the Button component. I avoided making any style changes to the button component, to avoid impact at other areas. Instead, using the disabled
attribute when a button is clicked seemed to be appropriate to me for giving a UX message to user that they have performed an action, and it is under progress, hence implemented the same.
This is how it is now coming up
Before click