diff options
Diffstat (limited to 'packages/client/src/components/HomeHeader.vue')
-rw-r--r-- | packages/client/src/components/HomeHeader.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/client/src/components/HomeHeader.vue b/packages/client/src/components/HomeHeader.vue index 64e70e7..a6e640e 100644 --- a/packages/client/src/components/HomeHeader.vue +++ b/packages/client/src/components/HomeHeader.vue @@ -17,7 +17,7 @@ export default defineComponent({ const title = ref(""); const about = ref(""); - const fetchInfo = async() => { + async function fetchInfo() { const info: Info = (await (await fetch(`${window.location.protocol}//${window.location.host}/api/v1/info`)).json()).data; title.value = info.title; @@ -51,4 +51,4 @@ export default defineComponent({ font-weight: 300; padding-left: 1px; } -</style> +</style>
\ No newline at end of file |