Skip to content

Commit

Permalink
Improve code
Browse files Browse the repository at this point in the history
  • Loading branch information
man90es committed Mar 23, 2024
1 parent 92add22 commit de789f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/components/SearchHistoryCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<button :class="$style.button" :key="h.ts" @click="() => navigateToLeaderboard(h.region, h.name)" v-for="h of store.history">
{{ h.region }}
{{ capitalise(h.name) }}
({{ formatDistanceToNow(h.ts) }} ago)
({{ formatDistanceToNow(h.ts, { addSuffix: true }) }})
</button>
</ContentCard>
</template>
Expand Down

0 comments on commit de789f9

Please sign in to comment.