Skip to content

Commit 3db3596

Browse files
chore: remove now useless tag tooltip details
1 parent 1cce51b commit 3db3596

File tree

2 files changed

+2
-62
lines changed

2 files changed

+2
-62
lines changed

src/modules/deals/deal/buildDealDetails.tsx

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -73,37 +73,7 @@ export function buildDealDetails({
7373
}),
7474
...(deal.tag && {
7575
Tag: {
76-
tooltip: (
77-
<>
78-
Indicates the execution environment type defined by iExec :
79-
<ul className="list-inside list-disc">
80-
<li>
81-
<code className="bg-primary-foreground text-primary -mx-1 rounded-sm px-1 py-px">
82-
0x0
83-
</code>
84-
: Standard
85-
</li>
86-
<li>
87-
<code className="bg-primary-foreground text-primary -mx-1 rounded-sm px-1 py-px">
88-
0x3
89-
</code>
90-
: SGX Scone
91-
</li>
92-
<li>
93-
<code className="bg-primary-foreground text-primary -mx-1 rounded-sm px-1 py-px">
94-
0x5
95-
</code>
96-
: SGX Gramine
97-
</li>
98-
<li>
99-
<code className="bg-primary-foreground text-primary -mx-1 rounded-sm px-1 py-px">
100-
0x9
101-
</code>
102-
: TDX
103-
</li>
104-
</ul>
105-
</>
106-
),
76+
tooltip: <>Indicates the execution environment type defined by iExec</>,
10777
value: <Tags>{deal.tag}</Tags>,
10878
},
10979
}),

src/modules/tasks/task/buildTaskDetails.tsx

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -70,37 +70,7 @@ export function buildTaskDetails({ task }: { task: TaskQuery['task'] }) {
7070
}),
7171
...(task.deal.tag && {
7272
Tag: {
73-
tooltip: (
74-
<>
75-
Indicates the execution environment type defined by iExec :
76-
<ul className="list-inside list-disc">
77-
<li>
78-
<code className="bg-primary-foreground text-primary -mx-1 rounded-sm px-1 py-px">
79-
0x0
80-
</code>
81-
: Standard
82-
</li>
83-
<li>
84-
<code className="bg-primary-foreground text-primary -mx-1 rounded-sm px-1 py-px">
85-
0x3
86-
</code>
87-
: SGX Scone
88-
</li>
89-
<li>
90-
<code className="bg-primary-foreground text-primary -mx-1 rounded-sm px-1 py-px">
91-
0x5
92-
</code>
93-
: SGX Gramine
94-
</li>
95-
<li>
96-
<code className="bg-primary-foreground text-primary -mx-1 rounded-sm px-1 py-px">
97-
0x9
98-
</code>
99-
: TDX
100-
</li>
101-
</ul>
102-
</>
103-
),
73+
tooltip: <>Indicates the execution environment type defined by iExec</>,
10474
value: <Tags>{task.deal.tag}</Tags>,
10575
},
10676
}),

0 commit comments

Comments
 (0)