mirror of
https://github.com/deiucanta/chatpad.git
synced 2026-03-11 09:04:31 +00:00
fix: added pinned default value
This commit is contained in:
parent
8d4f734f04
commit
96de7e36ae
2 changed files with 2 additions and 0 deletions
|
|
@ -140,6 +140,7 @@ export function Layout() {
|
|||
description: "New Chat",
|
||||
totalTokens: 0,
|
||||
createdAt: new Date(),
|
||||
pinned: false,
|
||||
});
|
||||
navigate({ to: `/chats/${id}` });
|
||||
}}
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ export function Prompts({
|
|||
description: "New Chat",
|
||||
totalTokens: 0,
|
||||
createdAt: new Date(),
|
||||
pinned: false,
|
||||
});
|
||||
await db.messages.add({
|
||||
id: nanoid(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue