From 6f10ec6e4f5cde4346aa6a8c1a891988ce453e71 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Fri, 3 Nov 2023 12:39:21 +0530 Subject: [PATCH] fixes --- .vitepress/theme/components/Feedback.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.vitepress/theme/components/Feedback.vue b/.vitepress/theme/components/Feedback.vue index 0aaa78704..fa644fd1b 100644 --- a/.vitepress/theme/components/Feedback.vue +++ b/.vitepress/theme/components/Feedback.vue @@ -45,10 +45,10 @@ async function handleSubmit(type?: string) { try { const response = await fetch("https://fmhy.vercel.app/api/feedback", { method: "POST", - headers: { - "Content-Type": "application/json", - }, - body: JSON.stringify(body), + headers: { + "Content-Type": "application/json", + }, + body: JSON.stringify(body), }); const data = await response.json(); @@ -100,7 +100,7 @@ async function handleSubmit(type?: string) {