Client Step 7.3
opened this issue · comments
There is an error here.
I followed every step but when i type yarn start in both client and server folder it gives me error how I can fix this issue.
TypeError: _useQuery.data is undefined
ChatRoomScreen
src/components/ChatRoomScreen/index.tsx:56
53 | const ChatRoomScreen: React.FC<ChatRoomScreenParams> = ({
54 | history,
55 | chatId,
> 56 | }) => {
57 | const client = useApolloClient();
58 | const {
59 | data: { chat },