Skip to content

Commit ccb3ae2

Browse files
committed
fix: add back set initial state
1 parent 285daaf commit ccb3ae2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package/src/components/Chat/Chat.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ const ChatWithContext = <
205205
// This acts as a lock for some very rare occurrences of concurrency
206206
// issues we've encountered before with the QuickSqliteClient being
207207
// uninitialized before it's being invoked.
208+
setInitialisedDatabaseConfig({ initialised: false, userID });
208209
SqliteClient.initializeDatabase()
209210
.then(async () => {
210211
setInitialisedDatabaseConfig({ initialised: true, userID });

0 commit comments

Comments
 (0)