@@ -25,15 +25,6 @@ import { useLink } from '../../lib/shared/useLink.ts';
2525import TooltipCell from '../Shared/TooltipCell.tsx' ;
2626import type { Ui5CustomEvent } from '@ui5/webcomponents-react-base' ;
2727
28- interface CellData < T > {
29- cell : {
30- value : T | undefined ;
31- row : {
32- original : Record < string , unknown > ;
33- } ;
34- } ;
35- }
36-
3728type MCPHealthPopoverButtonProps = {
3829 mcpStatus : ControlPlaneStatusType | undefined ;
3930 projectName : string ;
@@ -97,7 +88,7 @@ const MCPHealthPopoverButton = ({ mcpStatus, projectName, workspaceName, mcpName
9788 Header : t ( 'MCPHealthPopoverButton.statusHeader' ) ,
9889 accessor : 'status' ,
9990 width : 50 ,
100- Cell : ( instance : CellData < string > ) => {
91+ Cell : ( instance ) => {
10192 const isReady = instance . cell . value === 'True' ;
10293 return (
10394 < Icon
@@ -111,31 +102,31 @@ const MCPHealthPopoverButton = ({ mcpStatus, projectName, workspaceName, mcpName
111102 Header : t ( 'MCPHealthPopoverButton.typeHeader' ) ,
112103 accessor : 'type' ,
113104 width : 150 ,
114- Cell : ( instance : CellData < string > ) => {
105+ Cell : ( instance ) => {
115106 return < TooltipCell > { instance . cell . value } </ TooltipCell > ;
116107 } ,
117108 } ,
118109 {
119110 Header : t ( 'MCPHealthPopoverButton.messageHeader' ) ,
120111 accessor : 'message' ,
121112 width : 350 ,
122- Cell : ( instance : CellData < string > ) => {
113+ Cell : ( instance ) => {
123114 return < TooltipCell > { instance . cell . value } </ TooltipCell > ;
124115 } ,
125116 } ,
126117 {
127118 Header : t ( 'MCPHealthPopoverButton.reasonHeader' ) ,
128119 accessor : 'reason' ,
129120 width : 100 ,
130- Cell : ( instance : CellData < string > ) => {
121+ Cell : ( instance ) => {
131122 return < TooltipCell > { instance . cell . value } </ TooltipCell > ;
132123 } ,
133124 } ,
134125 {
135126 Header : t ( 'MCPHealthPopoverButton.transitionHeader' ) ,
136127 accessor : 'lastTransitionTime' ,
137128 width : 125 ,
138- Cell : ( instance : CellData < string > ) => {
129+ Cell : ( instance ) => {
139130 const rawDate = instance . cell . value ;
140131 const date = new Date ( rawDate as string ) ;
141132 return (
0 commit comments