From a1ab70a32e71725479067fa0dbe8b6544a0c2e50 Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Fri, 19 Mar 2021 10:23:34 +0200 Subject: [PATCH] voting done --- app/plus/components/PlusVotingPage.tsx | 2 +- utils/plus.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/plus/components/PlusVotingPage.tsx b/app/plus/components/PlusVotingPage.tsx index 3f7dc36c8..254ad8725 100644 --- a/app/plus/components/PlusVotingPage.tsx +++ b/app/plus/components/PlusVotingPage.tsx @@ -34,7 +34,7 @@ export default function PlusVotingPage() { if (hasVoted) return ( - + Votes succesfully recorded. Voting ends{" "} {getVotingRange().endDate.toLocaleString()}. diff --git a/utils/plus.ts b/utils/plus.ts index 7d5ffedeb..d2c606d03 100644 --- a/utils/plus.ts +++ b/utils/plus.ts @@ -59,6 +59,5 @@ export const getVotingRange = () => { ? startDate : getThirdFridayDate(true); - //return { startDate, endDate, isHappening, nextVotingDate }; - return { startDate, endDate, isHappening: true, nextVotingDate }; + return { startDate, endDate, isHappening, nextVotingDate }; };