We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 285daaf commit ccb3ae2Copy full SHA for ccb3ae2
package/src/components/Chat/Chat.tsx
@@ -205,6 +205,7 @@ const ChatWithContext = <
205
// This acts as a lock for some very rare occurrences of concurrency
206
// issues we've encountered before with the QuickSqliteClient being
207
// uninitialized before it's being invoked.
208
+ setInitialisedDatabaseConfig({ initialised: false, userID });
209
SqliteClient.initializeDatabase()
210
.then(async () => {
211
setInitialisedDatabaseConfig({ initialised: true, userID });
0 commit comments