fix frontend lints
Some checks failed
Backend Actions / check (push) Successful in 2m27s
Backend Actions / test (push) Failing after 2m37s
Backend Actions / build (push) Successful in 3m46s
Frontend Actions / check (push) Successful in 1m24s
Frontend Actions / build (push) Successful in 1m22s
Frontend Actions / test (push) Successful in 46s

This commit is contained in:
2025-08-01 16:15:31 +01:00
parent 70334ea0ae
commit 2914abbcd0
4 changed files with 13 additions and 13 deletions

View File

@ -1 +1 @@
@import "tailwindcss";
@import "tailwindcss";

View File

@ -1,5 +1,5 @@
<template>
<RouterLink
<RouterLink
:to="`/servers/${id}`"
class="block p-3 hover:bg-sky-100 rounded-lg transition-colors duration-200 border border-transparent hover:border-sky-300"
>
@ -9,6 +9,6 @@
<script setup lang="ts">
defineProps<{
id: string | number
}>()
</script>
id: string | number;
}>();
</script>

View File

@ -27,10 +27,12 @@ if (error.value) {
}
const serversWithFallback = computed(() => {
return servers.value || [
{ id: "1", name: "General" },
{ id: "2", name: "Gaming" },
{ id: "3", name: "Tech Talk" },
];
return (
servers.value || [
{ id: "1", name: "General" },
{ id: "2", name: "Gaming" },
{ id: "3", name: "Tech Talk" },
]
);
});
</script>