From 657ced2a380d470a11a47b6c2057ffa5c102baba Mon Sep 17 00:00:00 2001 From: Dhravya Date: Mon, 24 Jun 2024 23:31:44 -0500 Subject: [PATCH] added toast for loading and fixed chathistory --- apps/web/app/(dash)/header.tsx | 2 +- apps/web/app/api/telegram/route.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/app/(dash)/header.tsx b/apps/web/app/(dash)/header.tsx index 7eb15c8b..c8c71be2 100644 --- a/apps/web/app/(dash)/header.tsx +++ b/apps/web/app/(dash)/header.tsx @@ -41,7 +41,7 @@ async function Header() { History -
+
{chatThreads.data.map((thread) => ( { const cipherd = cipher(user.id.toString()); await ctx.reply( - `Welcome to Supermemory bot. I am here to help you remember things better. Click here to create and link your accont: https://beta.supermemory.ai/signin?telegramUser=${cipherd}`, + `Welcome to Supermemory bot. I am here to help you remember things better. Click here to create and link your account: https://beta.supermemory.ai/signin?telegramUser=${cipherd}`, ); }); @@ -38,7 +38,7 @@ bot.on("message", async (ctx) => { if (!dbUser) { await ctx.reply( - `Welcome to Supermemory bot. I am here to help you remember things better. Click here to create and link your accont: https://beta.supermemory.ai/signin?telegramUser=${cipherd}`, + `Welcome to Supermemory bot. I am here to help you remember things better. Click here to create and link your account: https://beta.supermemory.ai/signin?telegramUser=${cipherd}`, ); return;