refac: toast message wording

This commit is contained in:
Timothy J. Baek 2024-04-02 08:01:45 -07:00
parent 03a7f88dca
commit 5aad328040

View File

@ -21,7 +21,7 @@
const sharedChat = await shareChatById(localStorage.token, $chatId); const sharedChat = await shareChatById(localStorage.token, $chatId);
const chatShareUrl = `${window.location.origin}/s/${sharedChat.id}`; const chatShareUrl = `${window.location.origin}/s/${sharedChat.id}`;
toast.success($i18n.t('Copied shared conversation URL to clipboard!')); toast.success($i18n.t('Copied shared chat URL to clipboard!'));
copyToClipboard(chatShareUrl); copyToClipboard(chatShareUrl);
chat = await getChatById(localStorage.token, $chatId); chat = await getChatById(localStorage.token, $chatId);
}; };