diff --git a/src/components/NewBallot.jsx b/src/components/NewBallot.jsx index 0e10e7f..a0006a7 100644 --- a/src/components/NewBallot.jsx +++ b/src/components/NewBallot.jsx @@ -226,7 +226,7 @@ export class NewBallot extends React.Component { methodToCreateBallot(startTime) .on("receipt", (tx) => { commonStore.hideLoading(); - if(tx.status === '0x1'){ + if (tx.status === true || tx.status === '0x1') { swal("Congratulations!", messages.BALLOT_CREATED_SUCCESS_MSG, "success").then((result) => { push(`${commonStore.rootPath}`); });