Skip to content

Commit

Permalink
Update Content.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikpersistent authored Nov 26, 2024
1 parent 63325f9 commit 1992de7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ const Content: React.FC<ContentProps> = ({
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) {
Expand Down

0 comments on commit 1992de7

Please sign in to comment.