mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-27 08:00:51 +01:00
Fix motto
This commit is contained in:
parent
2155198fb0
commit
546696b204
@ -146,7 +146,7 @@ export const InfoStandWidgetUserView: FC<InfoStandWidgetUserViewProps> = props =
|
|||||||
<FontAwesomeIcon icon="pencil-alt" className="small" />
|
<FontAwesomeIcon icon="pencil-alt" className="small" />
|
||||||
<Flex grow alignItems="center" className="motto-content">
|
<Flex grow alignItems="center" className="motto-content">
|
||||||
{ !isEditingMotto &&
|
{ !isEditingMotto &&
|
||||||
<Text fullWidth pointer wrap textBreak small variant="white" onClick={ event => setIsEditingMotto(true) }>{ motto }</Text> }
|
<Text fullWidth pointer wrap textBreak small variant="white" onClick={ event => setIsEditingMotto(true) }>{ motto } </Text> }
|
||||||
{ isEditingMotto &&
|
{ isEditingMotto &&
|
||||||
<input type="text" className="motto-input" maxLength={ 38 } value={ motto } onChange={ event => setMotto(event.target.value) } onBlur={ onMottoBlur } onKeyDown={ onMottoKeyDown } autoFocus={ true } /> }
|
<input type="text" className="motto-input" maxLength={ 38 } value={ motto } onChange={ event => setMotto(event.target.value) } onBlur={ onMottoBlur } onKeyDown={ onMottoKeyDown } autoFocus={ true } /> }
|
||||||
</Flex>
|
</Flex>
|
||||||
|
Loading…
Reference in New Issue
Block a user