fixing bug in users not showing up

This commit is contained in:
Arjun Patel
2022-01-16 22:56:56 -08:00
parent 5005d52282
commit 5e6e764d5f
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -4,12 +4,14 @@ import {
ShowModalType,
useKeyboardContext,
} from "../../contexts/keyboardContext";
import { useTeamDashboardContext } from "../../contexts/teamDashboardContext";
const { Option } = Select;
const thisModalType = ShowModalType.createRoom;
export default function CreateRoomModal() {
const { teamUsers } = useTeamDashboardContext();
const { pastedLink, handleModalType, showModalType } = useKeyboardContext();
useEffect(() => {
+2 -2
View File
@@ -303,8 +303,8 @@ export function TeamDashboardContextProvider({ children }) {
...value,
allMessages,
messagesByTeamMate,
...teamUsers,
...teamUsersMap,
teamUsers,
teamUsersMap,
};
return (