Skip to content

Commit

Permalink
fix: corrected import statement for renamed type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
camelPhonso committed Jun 10, 2024
1 parent 4a4b602 commit 9043088
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions context/conversationStore.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import {
ConversationActionType,
IConversationState,
ConversationStateType,
} from '../types/contextTypes';

export default function conversationReducer(
state: IConversationState,
state: ConversationStateType,
action: ConversationActionType
): IConversationState {
): ConversationStateType {
switch (action.type) {
case 'SET_ALL_CONVERSATIONS':
return { ...state, allConversations: action.payload };
Expand Down

0 comments on commit 9043088

Please sign in to comment.