1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Autofocus the unit fiend in send screen (#11795)

This commit is contained in:
David Walsh 2021-08-10 16:56:07 -05:00 committed by GitHub
parent 504e74fbed
commit da79ac382e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,6 +106,7 @@ export default class UnitInput extends PureComponent {
ref={(ref) => { ref={(ref) => {
this.unitInput = ref; this.unitInput = ref;
}} }}
autoFocus
/> />
{suffix && <div className="unit-input__suffix">{suffix}</div>} {suffix && <div className="unit-input__suffix">{suffix}</div>}
</div> </div>