chore: format

This commit is contained in:
Timothy J. Baek
2024-05-06 12:58:24 -07:00
parent 6fa88854e3
commit 7f1acf9c2d
32 changed files with 432 additions and 10 deletions
+10 -5
View File
@@ -97,9 +97,10 @@
<div class=" text-sm dark:text-gray-300 mb-1">
{#if chat.share_id}
<a href="/s/{chat.share_id}" target="_blank"
>{$i18n.t("You have shared this chat")} <span class=" underline">{$i18n.t("before")}</span>.</a
>{$i18n.t('You have shared this chat')}
<span class=" underline">{$i18n.t('before')}</span>.</a
>
{$i18n.t("Click here to")}
{$i18n.t('Click here to')}
<button
class="underline"
on:click={async () => {
@@ -108,10 +109,14 @@
if (res) {
chat = await getChatById(localStorage.token, chatId);
}
}}>{$i18n.t("delete this link")} </button
> {$i18n.t("and create a new shared link.")}
}}
>{$i18n.t('delete this link')}
</button>
{$i18n.t('and create a new shared link.')}
{:else}
{$i18n.t("Messages you send after creating your link won't be shared. Users with the URL will beable to view the shared chat.")}
{$i18n.t(
"Messages you send after creating your link won't be shared. Users with the URL will beable to view the shared chat."
)}
{/if}
</div>