constructor()

in TailwindTraders.Website/Source/Tailwind.Traders.Web/ClientApp/src/pages/profile/profileContainer.js [22:62]


    constructor() {
        super();
        this.state = {
            profile: {},
            coupons: {
                smallCoupons: [],
            },
            recommendedProducts: [],
            purchaseHistory: [
                {
                    name: "Plant wooden pot",
                    price: "$22.99",
                    image: PlantImg,
                },
                {
                    name: "Exterior sink",
                    price: "$54.99",
                    image: ExteriorImg,
                },
                {
                    name: "White kitchen island",
                    price: "$150.99",
                    image: KitchenImg,
                },
            ],
            favoriteCatregories: [
                {
                    title: 'Plumbing',
                    image: Plumbing,
                },
                {
                    title: 'Garden',
                    image: Garden,
                },
                {
                    title: 'Kitchen',
                    image: Electrical,
                },
            ]
        };
    }