diff --git a/frontend/src/pages/Replication/Replication.tsx b/frontend/src/pages/Replication/Replication.tsx index 2fb1cc5..946ead3 100644 --- a/frontend/src/pages/Replication/Replication.tsx +++ b/frontend/src/pages/Replication/Replication.tsx @@ -144,9 +144,9 @@ export default function Replication() { setLoadingReplication(true) try { const res = await fetch(`/api/replication/?cluster=${selectedCluster}`) - const resJson = await res.json() + const resJson: ReplicationQueueItem[] = await res.json() // Filter for failed items only - const failedItems = resJson.filter((item: ReplicationQueueItem) => item.error) + const failedItems = resJson.filter((item) => item.error) setReplicationQueue(failedItems) } catch (err) { notification.error({