mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-14 15:09:59 -04:00
Update username-step.jsx
This commit is contained in:
parent
29558b8468
commit
d9d926590a
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue