import { Card } from "antd"; import React from "react"; import { useAppSelector } from "../../hooks"; import { products } from "../../store/reducers/nodesInputReducer"; export const ProductsView:React.FC = () =>{ const getProducts = useAppSelector(products) console.log(getProducts) return(
{ getProducts.map(el=>
{el.category}
{ el.characteristics == undefined? "":el.characteristics.toString() }
) }
); }