mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-26 18:44:56 +03:00
feat(auth): use Strings.createUsername in app settings
This commit is contained in:
parent
2aae15c101
commit
a62d0dd8b9
@ -192,7 +192,7 @@ export default class SceneEditAccount extends React.Component {
|
||||
};
|
||||
|
||||
_handleUsernameChange = (e) => {
|
||||
this.setState({ [e.target.name]: e.target.value.toLowerCase() });
|
||||
this.setState({ [e.target.name]: Strings.createUsername(e.target.value) });
|
||||
};
|
||||
|
||||
_handleDelete = async (res) => {
|
||||
|
Loading…
Reference in New Issue
Block a user