From 06b53d1509ef4de33cf487c142c4bf35debefd04 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sat, 10 Jun 2023 00:24:38 +0100 Subject: [PATCH] fix: couple of bugs --- components/Clock.vue | 2 +- components/RepoList.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Clock.vue b/components/Clock.vue index 1990ab6..c286d30 100644 --- a/components/Clock.vue +++ b/components/Clock.vue @@ -4,7 +4,7 @@ const minute = useState() function setTime() { const now = new Date() - hour.value = now.getHours() + hour.value = now.getHours() || 12 minute.value = String(now.getMinutes()).padStart(2, '0') } diff --git a/components/RepoList.vue b/components/RepoList.vue index 9b087d8..fa35689 100644 --- a/components/RepoList.vue +++ b/components/RepoList.vue @@ -72,7 +72,7 @@ const { data: repos, error } = await useAsyncData(async () => {
{{ error }}
- + {{ repo.stars }} -- knotmirror 0.0.1