Browse Source

chore: format

Timothy J. Baek 1 year ago
parent
commit
b79596332a
1 changed files with 12 additions and 12 deletions
  1. 12 12
      src/lib/components/chat/Messages/RateComment.svelte

+ 12 - 12
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 @@
 		<textarea
 			bind:value={comment}
 			class="w-full text-sm px-1 py-2 bg-transparent outline-none resize-none rounded-xl"
-			placeholder="{$i18n.t('Feel free to add specific details')}"
+			placeholder={$i18n.t('Feel free to add specific details')}
 			rows="2"
 		/>
 	</div>