Skip to content

Commit 0cfb955

Browse files
committed
cleanup
1 parent 90983f9 commit 0cfb955

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/runtime/composables/usePrecognitionForm.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function validate(fieldName: string) {
5757

5858
console.log('precognition oFetch')
5959
try {
60-
const response = await $fetch(this.url, {
60+
await $fetch(this.url, {
6161
method: this.method,
6262
headers: {
6363
'Precognition': true,

src/runtime/server/utils/definePrecognitionEventHandler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type EventHandler, type EventHandlerRequest, type H3Event, setResponseHeader, setResponseStatus } from 'h3'
1+
import { type EventHandler, type EventHandlerRequest, type H3Event, setResponseHeader } from 'h3'
22
import type { ZodSchema, ZodObject } from 'zod'
33
import { z } from 'zod'
44
import { defineEventHandler } from 'h3'

0 commit comments

Comments
 (0)