mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-02-13 06:07:36 +01:00
Remove tests
This commit is contained in:
@@ -6,7 +6,6 @@ const { locale, locales } = useI18n()
|
|||||||
const currentLocale = computed(() => locales.value.find(l => l.code === locale.value))
|
const currentLocale = computed(() => locales.value.find(l => l.code === locale.value))
|
||||||
|
|
||||||
const { data: stats } = await useAsyncData<Stats>('stats', () => $fetch('/api/stats'))
|
const { data: stats } = await useAsyncData<Stats>('stats', () => $fetch('/api/stats'))
|
||||||
console.log(stats.value)
|
|
||||||
const { t } = useI18n({
|
const { t } = useI18n({
|
||||||
useScope: 'local',
|
useScope: 'local',
|
||||||
})
|
})
|
||||||
@@ -18,7 +17,6 @@ const hours = usePrecision(stats.value!.coding.data.grand_total.total_seconds_in
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ClientOnly>
|
<ClientOnly>
|
||||||
<div>{{ stats }}</div>
|
|
||||||
<i18n-t
|
<i18n-t
|
||||||
v-if="stats && stats.coding && stats.editors && stats.os && stats.languages && time && date && hours"
|
v-if="stats && stats.coding && stats.editors && stats.os && stats.languages && time && date && hours"
|
||||||
keypath="stats"
|
keypath="stats"
|
||||||
|
|||||||
Reference in New Issue
Block a user