Advertisement
Guest User

Untitled

a guest
Jun 12th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   this.props.actions.saveFullForm(this.props.fullForm).then(
  2.       () => {
  3.         alert('youpi');
  4.         this.setState({
  5.           saved: true
  6.         }),
  7.           (error) => {
  8.             alert('oops : ' + error);
  9.           };
  10.       });
  11.  
  12.   this.props.actions.saveFullForm(this.props.fullForm).then(
  13.       () => {
  14.         alert('youpi');
  15.         this.setState({
  16.           saved: true
  17.         },
  18.           (error) => {
  19.             alert('oops : ' + error);
  20.           });
  21.       });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement