mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-23 14:13:21 +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
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class={`${following ? 'light' : ''} swap`}
|
class={`${following ? 'light' : ''} swap`}
|
||||||
data-swap-state="danger"
|
data-swap-state={following ? 'danger' : ''}
|
||||||
disabled={relationshipUIState === 'loading'}
|
disabled={relationshipUIState === 'loading'}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setRelationshipUIState('loading');
|
setRelationshipUIState('loading');
|
||||||
|
|
Loading…
Add table
Reference in a new issue