aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-06-24 23:31:44 -0500
committerDhravya <[email protected]>2024-06-24 23:31:44 -0500
commit657ced2a380d470a11a47b6c2057ffa5c102baba (patch)
treebe6547852d2b6a58d0d351d2bcbbedddb61789d6
parentremoved loading stuff (diff)
downloadsupermemory-657ced2a380d470a11a47b6c2057ffa5c102baba.tar.xz
supermemory-657ced2a380d470a11a47b6c2057ffa5c102baba.zip
added toast for loading and fixed chathistory
-rw-r--r--apps/web/app/(dash)/header.tsx2
-rw-r--r--apps/web/app/api/telegram/route.ts4
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;