You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my issues:
TypeError: Cannot read property 'map' of undefined
my code:
`import React, { Component } from "react";
import Product from "./Product";
import Title from "./Title";
import { storeProducts } from "../data";
import { ProductConsumer } from "../context";
export default class ProductList extends Component {
state = {
products: storeProducts
};
my issues:
TypeError: Cannot read property 'map' of undefined
my code:
`import React, { Component } from "react";
import Product from "./Product";
import Title from "./Title";
import { storeProducts } from "../data";
import { ProductConsumer } from "../context";
export default class ProductList extends Component {
state = {
products: storeProducts
};
render() {
return (
<React.Fragment>
<Title name="our" title="products" />
}
}
`
The text was updated successfully, but these errors were encountered: