mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-23 00:56:23 +01:00
Fix danger appearing for "Follow" too 😆
This commit is contained in:
parent
e8a0b401f9
commit
abb7f11c12
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ function Account({ account }) {
|
|||
<button
|
||||
type="button"
|
||||
class={`${following ? 'light' : ''} swap`}
|
||||
data-swap-state="danger"
|
||||
data-swap-state={following ? 'danger' : ''}
|
||||
disabled={relationshipUIState === 'loading'}
|
||||
onClick={() => {
|
||||
setRelationshipUIState('loading');
|
||||
|
|
Loading…
Reference in a new issue