Skip to content

Commit 9d93aaa

Browse files
committed
Remove tooltip from table row
1 parent 3777ffe commit 9d93aaa

File tree

1 file changed

+31
-34
lines changed

1 file changed

+31
-34
lines changed

src/application/components/ConnectorsTable.tsx

Lines changed: 31 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -63,40 +63,37 @@ export function ConnectorsTable({
6363
<Tbody>
6464
{data.map(({ id, request, response }) => {
6565
return (
66-
<Tooltip key={id} content="View more details">
67-
<Tr
68-
onClick={() =>
69-
navigate(`/connectors/${resultId}/requests/${id}`)
70-
}
71-
>
72-
{columns.map((col) => {
73-
return (
74-
<Fragment key={col}>
75-
{col === "id" && <Td>{id}</Td>}
76-
{col === "url" && (
77-
<Td className="whitespace-nowrap">
78-
{request?.url}
79-
</Td>
80-
)}
81-
{col === "status" && (
82-
<Td>
83-
<HTTPStatusBadge
84-
status={response?.status}
85-
variant="terse"
86-
/>
87-
</Td>
88-
)}
89-
{col === "method" && <Td>{request?.method}</Td>}
90-
{col === "errors" && (
91-
<Td>
92-
{response?.body?.selection?.errors?.length ?? 0}
93-
</Td>
94-
)}
95-
</Fragment>
96-
);
97-
})}
98-
</Tr>
99-
</Tooltip>
66+
<Tr
67+
key={id}
68+
onClick={() =>
69+
navigate(`/connectors/${resultId}/requests/${id}`)
70+
}
71+
>
72+
{columns.map((col) => {
73+
return (
74+
<Fragment key={col}>
75+
{col === "id" && <Td>{id}</Td>}
76+
{col === "url" && (
77+
<Td className="whitespace-nowrap">{request?.url}</Td>
78+
)}
79+
{col === "status" && (
80+
<Td>
81+
<HTTPStatusBadge
82+
status={response?.status}
83+
variant="terse"
84+
/>
85+
</Td>
86+
)}
87+
{col === "method" && <Td>{request?.method}</Td>}
88+
{col === "errors" && (
89+
<Td>
90+
{response?.body?.selection?.errors?.length ?? 0}
91+
</Td>
92+
)}
93+
</Fragment>
94+
);
95+
})}
96+
</Tr>
10097
);
10198
})}
10299
</Tbody>

0 commit comments

Comments
 (0)