Skip to content

Commit 938ac60

Browse files
feat: add detail to countdown text
1 parent fee40d3 commit 938ac60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/CountdownBar.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const totalDuration = endDate - startDate
1212
function updateCountdown() {
1313
const now = new Date()
1414
const timeLeft = endDate - now
15-
const elapsed = now - startDate
1615
1716
if (timeLeft <= 0) {
1817
hoursLeft.value = 0
@@ -43,7 +42,7 @@ onUnmounted(() => {
4342
<div class="progress" :style="{ width: percentComplete + '%' }"></div>
4443
</div>
4544
<div class="time-left">
46-
{{ hoursLeft }}h {{ minutesLeft }}m remaining
45+
{{ hoursLeft }}h {{ minutesLeft }}m remaining to cure ballots
4746
</div>
4847
</div>
4948
</template>

0 commit comments

Comments
 (0)