Pass needed values into toggleVote action.