🧪 Tests CI
Some checks failed
Gitea Build Action / build-go (push) Successful in 23s
Gitea Build Action / build-nuxt (push) Failing after 4m52s

This commit is contained in:
Daniel Svitan
2025-06-05 10:16:35 +02:00
parent 8068f82f13
commit 186275d1dd
3 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +1,6 @@
<template>
<main class="flex items-center justify-center min-w-screen min-h-screen">
<UButton icon="material-symbols:lock" size="xl" color="primary" variant="solid">Lock</UButton>
{{ res }}
</main>
</template>

View File

@@ -16,7 +16,7 @@
import * as v from "valibot"
import type { FormSubmitEvent } from "@nuxt/ui"
const token = useCookie("token")
const token = useToken()
const schema = v.object({
token: v.pipe(v.string(), v.nonEmpty("Please enter your token"))