react-survey
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -145,10 +145,2 @@ "use strict"; | ||
// REMOVE | ||
return setInterval(function () { | ||
_this3.setState({ | ||
displayGoodbyeMessage: true, | ||
globalLoading: false | ||
}); | ||
}, 1000); | ||
// eslint-disable-next-line | ||
_superagent2.default.post(this.props.data.postUrl).send({ | ||
@@ -405,3 +397,3 @@ survey: survey, | ||
"div", | ||
{ styles: _styles.styles.displayButtonsStyle }, | ||
{ style: _styles.styles.displayButtonsStyle }, | ||
props.folded ? _react2.default.createElement( | ||
@@ -408,0 +400,0 @@ "button", |
{ | ||
"name": "react-survey", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "A small but powerful component to make unobstrusive survey pup-up", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -100,10 +100,2 @@ import React, { Component } from "react"; | ||
// REMOVE | ||
return setInterval(() => { | ||
this.setState({ | ||
displayGoodbyeMessage: true, | ||
globalLoading: false, | ||
}); | ||
}, 1000); | ||
// eslint-disable-next-line | ||
request | ||
@@ -308,3 +300,3 @@ .post(this.props.data.postUrl) | ||
return ( | ||
<div styles={styles.displayButtonsStyle}> | ||
<div style={styles.displayButtonsStyle}> | ||
{props.folded | ||
@@ -311,0 +303,0 @@ ? <button onClick={props.unfoldSurvey}>+</button> |
97317
765