frontend/сomponents/ProductsView/index.tsx
Firesieht 81c649d102 bigs
2022-10-22 19:11:56 +03:00

16 lines
450 B
TypeScript

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(
<div>
<Card title="Card title" bordered={false}>
Card content
</Card>
</div>
);
}