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
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:
@ -1 +1 @@
|
|||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<RouterLink
|
<RouterLink
|
||||||
:to="`/servers/${id}`"
|
:to="`/servers/${id}`"
|
||||||
class="block p-3 hover:bg-sky-100 rounded-lg transition-colors duration-200 border border-transparent hover:border-sky-300"
|
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">
|
<script setup lang="ts">
|
||||||
defineProps<{
|
defineProps<{
|
||||||
id: string | number
|
id: string | number;
|
||||||
}>()
|
}>();
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -27,10 +27,12 @@ if (error.value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const serversWithFallback = computed(() => {
|
const serversWithFallback = computed(() => {
|
||||||
return servers.value || [
|
return (
|
||||||
{ id: "1", name: "General" },
|
servers.value || [
|
||||||
{ id: "2", name: "Gaming" },
|
{ id: "1", name: "General" },
|
||||||
{ id: "3", name: "Tech Talk" },
|
{ id: "2", name: "Gaming" },
|
||||||
];
|
{ id: "3", name: "Tech Talk" },
|
||||||
|
]
|
||||||
|
);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -12,9 +12,7 @@ export default defineNuxtConfig({
|
|||||||
],
|
],
|
||||||
css: ["~/assets/css/main.css"],
|
css: ["~/assets/css/main.css"],
|
||||||
vite: {
|
vite: {
|
||||||
plugins: [
|
plugins: [tailwindcss()],
|
||||||
tailwindcss(),
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
nitro: {
|
nitro: {
|
||||||
preset: "node-server",
|
preset: "node-server",
|
||||||
|
|||||||
Reference in New Issue
Block a user