fix: set threadsHydrated in ADD_THREAD to prevent blank page on thread creation
This commit is contained in:
1 parent
7c782c6c3e
commit
49a1effa74
1 file changed
+1
@@ -543,6 +543,7 @@ export function reducer(state: AppState, action: Action): AppState {
|
||||
...state,
|
||||
threads: [...state.threads, nextThread],
|
||||
activeThreadId: action.thread.id,
|
||||
threadsHydrated: true,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user