We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce3cd6a commit 118a2bbCopy full SHA for 118a2bb
samples/react-chat/src/components/ChatListTemplate/ChatListTemplate.tsx
@@ -4,7 +4,7 @@ import { Chat } from '@microsoft/microsoft-graph-types';
4
import ChatItem, { ChatInteractionProps } from '../ChatItem/ChatItem';
5
6
const ChatListTemplate = (props: MgtTemplateProps & ChatInteractionProps) => {
7
- const { value } = props.dataContext;
+ const { value } = props.dataContext as { value: Chat[] };
8
const chats: Chat[] = value;
9
// Select a default chat to display
10
// props.onSelected(chats[0]);
0 commit comments