mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-08-22 06:53:57 +00:00
added toast for loading and fixed chathistory
This commit is contained in:
parent
3d01911315
commit
657ced2a38
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue