mirror of
https://github.com/status-im/snt-voting.git
synced 2025-02-23 23:58:13 +00:00
Fix: error showing other wallet conn instructions
This commit is contained in:
parent
1379724d49
commit
cb1b3d2c01
@ -36,13 +36,13 @@ class OtherWallets extends Component {
|
||||
render() {
|
||||
const props = this.props;
|
||||
|
||||
if(!props.polls || !props.polls.length){
|
||||
return null;
|
||||
}
|
||||
|
||||
const poll = this.props.polls[this.props.idPoll];
|
||||
|
||||
const d = new Date(poll.blockInfo.timestamp * 1000);
|
||||
if(!props.noWeb3Provider){
|
||||
if(!props.polls || !props.polls.length){
|
||||
return null;
|
||||
}
|
||||
const poll = this.props.polls[this.props.idPoll];
|
||||
const d = new Date(poll.blockInfo.timestamp * 1000);
|
||||
}
|
||||
|
||||
return <Fragment><div className="section">
|
||||
<Typography variant="headline">Connect with a wallet with SNT in it.</Typography>
|
||||
|
Loading…
x
Reference in New Issue
Block a user