Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/DEV' into test_neo4j_package
Browse files Browse the repository at this point in the history
  • Loading branch information
kaustubh-darekar committed Nov 26, 2024
2 parents 36c7998 + 1992de7 commit 04f28b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/components/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,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 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 04f28b2

Please sign in to comment.