diff --git a/src/components/CardDesign3/index.js b/src/components/CardDesign3/index.js index b1dfbcf..ed287c0 100644 --- a/src/components/CardDesign3/index.js +++ b/src/components/CardDesign3/index.js @@ -7,13 +7,13 @@ import profilePic4 from "./images/profilePic4.svg"; import profilePic5 from "./images/profilePic5.svg"; import pen from "./pen.svg"; -const CardDesign3 = ({ items }) => { +const CardDesign3 = ({ items, num }) => { return ( <> - {items.map((item, index) => ( + {items.slice(0, num).map((item, index) => (