🧪 Tests CI
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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"))
|
||||
|
Reference in New Issue
Block a user