diff --git a/app/components/Voting.js b/app/components/Voting.js
index b7e2b9c..6bed214 100644
--- a/app/components/Voting.js
+++ b/app/components/Voting.js
@@ -5,6 +5,7 @@ import AppBar from './standard/AppBar';
import AddPoll from './simple-voting/AddPoll';
import PollsList from './simple-voting/PollsList';
import StatusLogo from '../ui/components/StatusLogo';
+import Collapse from '@material-ui/core/Collapse';
class Voting extends PureComponent {
state = { addPoll: false };
@@ -20,7 +21,9 @@ class Voting extends PureComponent {
- {addPoll && }
+
+
+
{rawPolls && }
)
diff --git a/app/components/simple-voting/AddPoll.js b/app/components/simple-voting/AddPoll.js
index 35a5ca5..c9f64b5 100644
--- a/app/components/simple-voting/AddPoll.js
+++ b/app/components/simple-voting/AddPoll.js
@@ -89,7 +89,7 @@ const AddPoll = withFormik({
},
async handleSubmit(values, { setSubmitting, setErrors, props }) {
const { description } = values;
- const { eth: { getBlockNumber }, utils: { asciiToHex } } = window.web3;
+ const { eth: { getBlockNumber } } = window.web3;
const { addPoll } = PollManager.methods;
const currentBlock = await getBlockNumber();
const endTime = currentBlock + (oneDayinBlocks * 90);