diff options
| author | Dhravya <[email protected]> | 2024-06-24 23:31:44 -0500 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-06-24 23:31:44 -0500 |
| commit | 657ced2a380d470a11a47b6c2057ffa5c102baba (patch) | |
| tree | be6547852d2b6a58d0d351d2bcbbedddb61789d6 | |
| parent | removed loading stuff (diff) | |
| download | supermemory-657ced2a380d470a11a47b6c2057ffa5c102baba.tar.xz supermemory-657ced2a380d470a11a47b6c2057ffa5c102baba.zip | |
added toast for loading and fixed chathistory
| -rw-r--r-- | apps/web/app/(dash)/header.tsx | 2 | ||||
| -rw-r--r-- | 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 </button> - <div className="absolute p-4 hidden group-hover:block right-0 max-h-svh overflow-auto"> + <div className="absolute p-4 hidden group-hover:block right-0 w-full md:w-[400px] max-h-[70vh] overflow-auto"> <div className="bg-[#1F2429] rounded-xl p-2 flex flex-col shadow-lg"> {chatThreads.data.map((thread) => ( <Link diff --git a/apps/web/app/api/telegram/route.ts b/apps/web/app/api/telegram/route.ts index 000b473a..c6c673b2 100644 --- a/apps/web/app/api/telegram/route.ts +++ b/apps/web/app/api/telegram/route.ts @@ -21,7 +21,7 @@ bot.command("start", async (ctx) => { 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; |