Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't run the application #6

Open
oaydinyilmaz opened this issue May 26, 2020 · 0 comments
Open

can't run the application #6

oaydinyilmaz opened this issue May 26, 2020 · 0 comments

Comments

@oaydinyilmaz
Copy link

oaydinyilmaz commented May 26, 2020

Hi,

Could you check this below? You can reproduce the issue if you install the repo from scratch:

TypeError: this.props.chats.chats.map is not a function

ChatPage.renderCards

C:/Users/Oguz/Desktop/React Projects/Whatsapp - Mern/mern-chat-app/client/src/components/views/ChatPage/ChatPage.js:11
   8 | import Dropzone from "react-dropzone";
   9 | import Axios from "axios";
  10 | 
> 11 | export class ChatPage extends Component {
  12 |   state = {
  13 |     chatMessage: "",
  14 |   };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant