diff --git a/frontend/src/components/Content.tsx b/frontend/src/components/Content.tsx index 47614e04..9b39e7b9 100644 --- a/frontend/src/components/Content.tsx +++ b/frontend/src/components/Content.tsx @@ -450,8 +450,8 @@ const Content: React.FC = ({ try { const response = await postProcessing(userCredentials as UserCredentials, postProcessingTasks); if (response.data.status === 'Success') { - const communityfiles = response.data.data; - communityfiles.forEach((c: any) => { + const communityfiles = response.data?.data; + communityfiles?.forEach((c: any) => { setFilesData((prev) => { return prev.map((f) => { if (f.name === c.filename) {