Skip to content

Commit 137c0ae

Browse files
committed
chore: Fix callback dependencies on cluster card
1 parent bacbae1 commit 137c0ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/clusters/components/ClusterCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export function ClusterCard({ cluster }: { cluster: Cluster; }) {
100100
setIsTerminateClusterModalOpen(false);
101101
},
102102
});
103-
}, [terminateCluster, cluster.id, cluster.name, isSelfManaged, queryClient]);
103+
}, [cluster.organizationId, cluster.id, cluster.name, terminateCluster, isSelfManaged, queryClient]);
104104

105105
const [onCopyFQDNClick, onCopyAPIClick] = useCopyToClipboard(
106106
`${cluster.fqdn}`,

0 commit comments

Comments
 (0)