diff options
author | HampusM <hampus@hampusmat.com> | 2021-07-25 22:34:22 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-07-25 22:34:22 +0200 |
commit | 4bbf220296765a20c3ba03c5351b21618a835424 (patch) | |
tree | da6b685a7496bceb928d397f5a073edf1083af44 /packages/client/src/components/HomeHeader.vue | |
parent | 7d27f9c7f1b57693dfdc0dd289015406b90984ec (diff) |
Reformated the client code a bit
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 |