fix: clean up console log

pull/100/head
Pierre-Louis Guhur 1 year ago
parent 9efe6222e9
commit af5baf0775

@ -497,7 +497,6 @@ const ResultPage = ({
</ErrorMessage>
);
}
console.log(err)
if (err && err.details.startsWith('The election is not closed')) {
const urlVote = getUrl(RouteTypes.VOTE, router, electionRef, token);

@ -212,7 +212,6 @@ export const getResults = async (
const response = await fetch(endpoint.href);
if (response.status != 200) {
const payload = await response.json();
console.log("PAYLOAD", payload)
return {status: response.status, ...payload};
}
const payload = await response.json();

Loading…
Cancel
Save