Update username-step.jsx

This commit is contained in:
R4356th 2020-05-30 17:09:55 +06:00 committed by GitHub
parent 29558b8468
commit d9d926590a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ class UsernameStep extends React.Component {
};
// simple object to memoize remote requests for usernames.
// keeps us from submitting multiple requests for same data.
this.usernameRemoteCache = {};
this.usernameRemoteCache = Object.create(null);
}
componentDidMount () {
// Send info to analytics when we aren't on the standalone page.