chore: format

This commit is contained in:
Timothy J. Baek 2024-04-20 13:35:01 -05:00
parent 7a5a3c45e0
commit b79596332a

View file

@ -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>