Use composition for translation
This commit is contained in:
@@ -9,7 +9,7 @@ definePageMeta({
|
||||
const app = useNuxtApp();
|
||||
const { loggedIn } = useUserSession();
|
||||
const localePath = useLocalePath();
|
||||
const { t } = useI18n();
|
||||
const { t, d } = useI18n();
|
||||
const router = useRouter();
|
||||
|
||||
const { confirm } = useModal();
|
||||
@@ -227,7 +227,7 @@ async function addUser() {
|
||||
<p>
|
||||
Last update:
|
||||
{{
|
||||
$d(data.updatedAt, {
|
||||
d(data.updatedAt, {
|
||||
dateStyle: 'medium',
|
||||
timeStyle: 'medium'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user