We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3ea1c8 commit 024332fCopy full SHA for 024332f
apps/web/src/components/Ago.vue
@@ -5,9 +5,10 @@
5
import { format as timeAgoFormat } from "timeago.js";
6
7
const { timestamp } = defineProps<{
8
- timestamp: number;
9
- }>(),
10
- timeAgo = $computed(() => timeAgoFormat(timestamp * 1000));
+ timestamp: number;
+}>();
+
11
+const timeAgo = $computed(() => timeAgoFormat(timestamp * 1000));
12
</script>
13
<style scoped lang="scss">
14
.ago {
0 commit comments