refactor(chat): consolidate unlock state
This commit is contained in:
@@ -80,7 +80,7 @@ export function useChatUnlockCoordinator({
|
||||
const chatState = useChatSelector(
|
||||
(state) => ({
|
||||
historyLoaded: state.context.historyLoaded,
|
||||
isUnlockingHistory: state.context.isUnlockingHistory,
|
||||
isUnlockingHistory: state.matches({ userSession: "unlockingHistory" }),
|
||||
lockedHistoryCount: state.context.lockedHistoryCount,
|
||||
unlockHistoryError: state.context.unlockHistoryError,
|
||||
unlockHistoryPromptVisible: state.context.unlockHistoryPromptVisible,
|
||||
|
||||
Reference in New Issue
Block a user