mirror of
https://github.com/wassname/talk.git
synced 2026-09-30 11:43:46 +08:00
Addressing style bug in FlagButton.
This commit is contained in:
1 parent
2e6700e490
commit
b14bd02de6
1 file changed
+1
-1
@@ -31,7 +31,7 @@ const FlagButton = ({flag, id, postAction, deleteAction, addItem, updateItem, ad
|
||||
: <span className={`${name}-button-text`}>{lang.t('flag')}</span>
|
||||
}
|
||||
<i className={`${name}-icon material-icons ${flagged && 'flaggedIcon'}`}
|
||||
style={flagged && styles.flaggedIcon}
|
||||
style={flagged ? styles.flaggedIcon : {}}
|
||||
aria-hidden={true}>flag</i>
|
||||
</button>
|
||||
</div>;
|
||||
|
||||
Reference in new issue
Block a user