mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-27 21:31:16 -04:00
Fix catch callback
This commit is contained in:
parent
21cd890bfa
commit
ecde42f356
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ module.exports = class BasicInfoView extends CocoView
|
|||
@state.set({ checkNameState: 'exists', suggestedNameText })
|
||||
else
|
||||
@state.set { checkNameState: 'available' }
|
||||
.catch (error) ->
|
||||
.catch (error) =>
|
||||
@state.set('checkNameState', 'standby')
|
||||
throw error
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue