feat: add participants view
This commit is contained in:
parent
f27adc3360
commit
86c1409d3f
9 changed files with 133 additions and 22 deletions
|
|
@ -52,6 +52,17 @@ export function chatReducer(state: ChatState, action: ChatAction): ChatState {
|
|||
...state,
|
||||
messages: [],
|
||||
};
|
||||
case "SET_PARTICIPANTS":
|
||||
return {
|
||||
...state,
|
||||
participants: action.payload,
|
||||
};
|
||||
|
||||
case "SET_MENU":
|
||||
return {
|
||||
...state,
|
||||
selectedMenu: action.payload,
|
||||
};
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue