feat: add participants view

This commit is contained in:
Alexander Daichendt 2025-02-13 13:46:35 +01:00
parent f27adc3360
commit 86c1409d3f
9 changed files with 133 additions and 22 deletions

View file

@ -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;
}