Skip to content

Commit 024332f

Browse files
committed
web: Fix build error
1 parent f3ea1c8 commit 024332f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

apps/web/src/components/Ago.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
import { format as timeAgoFormat } from "timeago.js";
66
77
const { timestamp } = defineProps<{
8-
timestamp: number;
9-
}>(),
10-
timeAgo = $computed(() => timeAgoFormat(timestamp * 1000));
8+
timestamp: number;
9+
}>();
10+
11+
const timeAgo = $computed(() => timeAgoFormat(timestamp * 1000));
1112
</script>
1213
<style scoped lang="scss">
1314
.ago {

0 commit comments

Comments
 (0)