- {auditLogData !== null && auditLogData !== undefined ? (
+ {auditLogData ? (
auditLogData.length > 0 ? (
auditLogData
.filter((item: any) => item.type === "comment")
diff --git a/src/admin/components/ResourceTabs/PolygonReviewTab/components/PolygonStatus/StatusDisplay .tsx b/src/admin/components/ResourceTabs/PolygonReviewTab/components/PolygonStatus/StatusDisplay .tsx
index fdbce8d44..aaee12bd2 100644
--- a/src/admin/components/ResourceTabs/PolygonReviewTab/components/PolygonStatus/StatusDisplay .tsx
+++ b/src/admin/components/ResourceTabs/PolygonReviewTab/components/PolygonStatus/StatusDisplay .tsx
@@ -172,7 +172,7 @@ const StatusDisplay = ({ titleStatus = "Polygon", mutate, refresh, name, record,
} finally {
refresh();
reloadEntity();
- closeModal;
+ closeModal();
}
}}
/>
@@ -219,7 +219,7 @@ const StatusDisplay = ({ titleStatus = "Polygon", mutate, refresh, name, record,
} finally {
refresh();
reloadEntity();
- closeModal;
+ closeModal();
}
}}
/>