From 1da62476e4dfe0a33be238571d8fb3086f2285bb Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Fri, 3 Nov 2023 12:08:42 +0530 Subject: [PATCH] formatting --- .prettierignore | 1 + .vitepress/theme/components/Feedback.vue | 17 ++++++++++++----- .vitepress/theme/index.ts | 2 +- .vitepress/theme/pwa.ts | 4 ++-- .vitepress/vue-shim.d.ts | 4 ++-- package.json | 2 +- 6 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.prettierignore b/.prettierignore index de056073a..18f1a04b0 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,2 @@ **/*.md +pnpm-lock.yaml diff --git a/.vitepress/theme/components/Feedback.vue b/.vitepress/theme/components/Feedback.vue index 19226a8d7..308eaaf3b 100644 --- a/.vitepress/theme/components/Feedback.vue +++ b/.vitepress/theme/components/Feedback.vue @@ -5,14 +5,14 @@ interface Feedback { message: string; feedbackType?: string; contactEmail?: string; - anonymous: boolean + anonymous: boolean; } const loading = ref(false); const error = ref(null); const success = ref(false); -const feedback = reactive({ message: "", anonymous: false,contactEmail: "" }); +const feedback = reactive({ message: "", anonymous: false, contactEmail: "" }); const feedbackOptions = [ { label: "🐞 Bug", value: "bug" }, @@ -73,7 +73,11 @@ async function handleSubmit(type?: string) {
-
@@ -83,7 +87,10 @@ async function handleSubmit(type?: string) {

The wiki is...

{{ getFeedbackOption(feedback.feedbackType)?.label }} -
@@ -101,7 +108,7 @@ async function handleSubmit(type?: string) {