From b79596332a4401ce243d3b6f0701db855787391c Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 20 Apr 2024 13:35:01 -0500 Subject: [PATCH] chore: format --- .../chat/Messages/RateComment.svelte | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/lib/components/chat/Messages/RateComment.svelte b/src/lib/components/chat/Messages/RateComment.svelte index 7fd2426ab..5f689588c 100644 --- a/src/lib/components/chat/Messages/RateComment.svelte +++ b/src/lib/components/chat/Messages/RateComment.svelte @@ -2,7 +2,7 @@ import { toast } from 'svelte-sonner'; import { createEventDispatcher, onMount, getContext } from 'svelte'; - + const i18n = getContext('i18n'); const dispatch = createEventDispatcher(); @@ -15,22 +15,22 @@ function loadReasons() { LIKE_REASONS = [ - $i18n.t("Accurate information"), - $i18n.t("Followed instructions perfectly"), - $i18n.t("Showcased creativity"), - $i18n.t("Positive attitude"), - $i18n.t("Attention to detail"), - $i18n.t("Thorough explanation"), - $i18n.t("Other") + $i18n.t('Accurate information'), + $i18n.t('Followed instructions perfectly'), + $i18n.t('Showcased creativity'), + $i18n.t('Positive attitude'), + $i18n.t('Attention to detail'), + $i18n.t('Thorough explanation'), + $i18n.t('Other') ]; DISLIKE_REASONS = [ $i18n.t("Don't like the style"), - $i18n.t("Not factually correct"), + $i18n.t('Not factually correct'), $i18n.t("Didn't fully follow instructions"), $i18n.t("Refused when it shouldn't have"), - $i18n.t("Being lazy"), - $i18n.t("Other") + $i18n.t('Being lazy'), + $i18n.t('Other') ]; } @@ -107,7 +107,7 @@