diff --git a/components/artistPortfolio.tsx b/components/artistPortfolio.tsx
index a2d302a..7863f39 100644
--- a/components/artistPortfolio.tsx
+++ b/components/artistPortfolio.tsx
@@ -3,6 +3,7 @@ import ImageList from '@mui/material/ImageList';
import ImageListItem from '@mui/material/ImageListItem';
import { useEffect, useState } from "react";
import { fetchSellerPortfolio,getPortfolioUrl } from "../services/DiscoveryService";
+import ArtistPortfolioImage from './artistPortfolioImage';
import { IconButton } from '@mui/material';
@@ -22,14 +23,7 @@ const ArtistPortfolio = ({artistId}) => {
{portfolioData.map((item) => (
-
-
-
+
))}
)
}
diff --git a/components/artistPortfolioImage.tsx b/components/artistPortfolioImage.tsx
new file mode 100644
index 0000000..6a30464
--- /dev/null
+++ b/components/artistPortfolioImage.tsx
@@ -0,0 +1,38 @@
+import * as React from 'react';
+import ImageList from '@mui/material/ImageList';
+import ImageListItem from '@mui/material/ImageListItem';
+import { useEffect, useState } from "react";
+import { fetchSellerPortfolio,getPortfolioUrl } from "../services/DiscoveryService";
+
+import { CircularProgress } from '@mui/material';
+
+import { IconButton } from '@mui/material';
+
+const ArtistPortfolioImage = ({artistId,itemId}) => {
+ const [loaded, setLoaded] = useState(false);
+ const handleImageLoaded = () => {
+ setLoaded(true);
+ };
+ const [portfolioData, setPortfolioData] = useState([]);
+ useEffect(() => {
+ const getData = async () => {
+ const data = await fetchSellerPortfolio(artistId);
+ console.log(data)
+ setPortfolioData(data);
+ }
+ getData();
+ }, []);
+
+ return (
+
+
+ )
+}
+export default ArtistPortfolioImage
\ No newline at end of file