default to 1x (#3099)

This commit is contained in:
Thibaut Sardan 2020-07-01 09:51:42 +02:00 committed by GitHub
parent 586e77bd07
commit 564f04a6ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ function Voting ({ proposal, referendumId }: Props): React.ReactElement<Props> |
const { hasAccounts } = useAccounts();
const [accountId, setAccountId] = useState<string | null>(null);
const [balance, setBalance] = useState<BN | undefined>();
const [conviction, setConviction] = useState(0);
const [conviction, setConviction] = useState(1);
const [isVotingOpen, toggleVoting] = useToggle();
const [aye, setVoteValue] = useState(true);