Update SignupModal.tsx
Close when done
This commit is contained in:
parent
46ef45e732
commit
710fb6a978
1 changed files with 1 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ class SignupModal extends React.Component<Props, State> {
|
|||
.then((response) => {
|
||||
const cookies = this.props.cookies
|
||||
cookies.set('user', response.data.user, { path: '/'})
|
||||
this.props.close()
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue