dev: hotfix, avoid ts warning

This commit is contained in:
2025-10-03 21:47:28 +07:00
parent 6dd9b25145
commit d9cedf8d42
8 changed files with 8 additions and 8 deletions

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ definePageMeta({
const route = useRoute() const route = useRoute()
useHead({ useHead({
title: () => route.meta.title, title: () => `${route.meta.title}`, // backtick to avoid the ts-plugin(2322) warning
}) })
const roleAccess: PagePermission = PAGE_PERMISSIONS['/patient'] const roleAccess: PagePermission = PAGE_PERMISSIONS['/patient']
@@ -13,7 +13,7 @@ definePageMeta({
const route = useRoute() const route = useRoute()
useHead({ useHead({
title: () => route.meta.title, title: () => `${route.meta.title}`, // backtick to avoid the ts-plugin(2322) warning
}) })
const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/encounter'] const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/encounter']
@@ -13,7 +13,7 @@ definePageMeta({
const route = useRoute() const route = useRoute()
useHead({ useHead({
title: () => route.meta.title, title: () => `${route.meta.title}`, // backtick to avoid the ts-plugin(2322) warning
}) })
const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/encounter'] const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/encounter']
@@ -13,7 +13,7 @@ definePageMeta({
const route = useRoute() const route = useRoute()
useHead({ useHead({
title: () => route.meta.title, title: () => `${route.meta.title}`,
}) })
const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/encounter'] const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/encounter']
+1 -1
View File
@@ -13,7 +13,7 @@ definePageMeta({
const route = useRoute() const route = useRoute()
useHead({ useHead({
title: () => route.meta.title, title: () => `${route.meta.title}`, // backtick to avoid the ts-plugin(2322) warning
}) })
const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/encounter'] const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/encounter']
@@ -13,7 +13,7 @@ definePageMeta({
const route = useRoute() const route = useRoute()
useHead({ useHead({
title: () => route.meta.title, title: () => `${route.meta.title}`, // backtick to avoid the ts-plugin(2322) warning
}) })
const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/registration'] const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/registration']
@@ -13,7 +13,7 @@ definePageMeta({
const route = useRoute() const route = useRoute()
useHead({ useHead({
title: () => route.meta.title, title: () => `${route.meta.title}`, // backtick to avoid the ts-plugin(2322) warning
}) })
const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/registration'] const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/registration']
@@ -13,7 +13,7 @@ definePageMeta({
const route = useRoute() const route = useRoute()
useHead({ useHead({
title: () => route.meta.title, title: () => `${route.meta.title}`, // backtick to avoid the ts-plugin(2322) warning
}) })
const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/registration'] const roleAccess: PagePermission = PAGE_PERMISSIONS['/rehab/registration']