Refactor chat session state hook to use useShape

This commit is contained in:
CREDO23 2026-01-20 18:26:58 +02:00
parent 6a31e79ede
commit 69f2460d18
2 changed files with 28 additions and 1 deletions

View file

@ -228,7 +228,6 @@ export async function initElectric(userId: string): Promise<ElectricClient> {
CREATE INDEX IF NOT EXISTS idx_documents_search_space_type ON documents(search_space_id, document_type);
`);
// Create the chat_comment_mentions table schema in PGlite
await db.exec(`
CREATE TABLE IF NOT EXISTS chat_comment_mentions (
id INTEGER PRIMARY KEY,