diff --git a/src/components/ProductDescription/index.js b/src/components/ProductDescription/index.js index aa11d56..7ab7eb4 100644 --- a/src/components/ProductDescription/index.js +++ b/src/components/ProductDescription/index.js @@ -1,32 +1,49 @@ + import React from "react"; +import { useState } from "react"; const ProductDescription = ({ navTitles, items, addToCart }) =>{ + const [name, setName] = useState(navTitles[0].name); + const [type, setType] = useState([]); return( <>