File tree 2 files changed +0
-61
lines changed
apps/hyperdrive-trading/src/ui/hyperdrive 2 files changed +0
-61
lines changed Original file line number Diff line number Diff line change 1
1
import { Long } from "@delvtech/hyperdrive-viem" ;
2
- import { ChevronDownIcon , ChevronUpIcon } from "@heroicons/react/24/outline" ;
3
2
import {
4
3
AppConfig ,
5
4
EmptyExtensions ,
@@ -118,36 +117,6 @@ export function OpenLongsTableMobile({
118
117
) ;
119
118
} ) }
120
119
< table className = "daisy-table daisy-table-zebra daisy-table-lg" >
121
- < thead >
122
- { tableInstance . getHeaderGroups ( ) . map ( ( headerGroup ) => (
123
- < tr key = { headerGroup . id } >
124
- { headerGroup . headers . map ( ( header ) => (
125
- < th
126
- className = "sticky z-10 font-normal text-neutral-content"
127
- key = { header . id }
128
- >
129
- < div
130
- className = { classNames ( {
131
- "flex cursor-pointer select-none items-center gap-2" :
132
- header . column . getCanSort ( ) ,
133
- } ) }
134
- onClick = { header . column . getToggleSortingHandler ( ) }
135
- >
136
- { flexRender (
137
- header . column . columnDef . header ,
138
- header . getContext ( ) ,
139
- ) }
140
- { {
141
- asc : < ChevronUpIcon height = { 15 } /> ,
142
- desc : < ChevronDownIcon height = { 15 } /> ,
143
- } [ header . column . getIsSorted ( ) as string ] ?? null }
144
- </ div >
145
- </ th >
146
- ) ) }
147
- </ tr >
148
- ) ) }
149
- </ thead >
150
-
151
120
< tbody >
152
121
{ tableInstance . getRowModel ( ) . rows . map ( ( row , index ) => {
153
122
const isLastRow =
Original file line number Diff line number Diff line change 1
1
/* eslint-disable react/jsx-key */
2
2
import { OpenShort } from "@delvtech/hyperdrive-viem" ;
3
- import { ChevronDownIcon , ChevronUpIcon } from "@heroicons/react/24/outline" ;
4
3
import {
5
4
AppConfig ,
6
5
HyperdriveConfig ,
@@ -65,35 +64,6 @@ export function OpenShortsTableMobile({
65
64
) ;
66
65
} ) }
67
66
< table className = "daisy-table daisy-table-zebra daisy-table-lg" >
68
- < thead >
69
- { tableInstance . getHeaderGroups ( ) . map ( ( headerGroup ) => (
70
- < tr key = { headerGroup . id } >
71
- { headerGroup . headers . map ( ( header ) => (
72
- < th
73
- className = "sticky z-10 font-normal text-neutral-content"
74
- key = { header . id }
75
- >
76
- < div
77
- className = { classNames ( {
78
- "flex cursor-pointer select-none items-center gap-2" :
79
- header . column . getCanSort ( ) ,
80
- } ) }
81
- onClick = { header . column . getToggleSortingHandler ( ) }
82
- >
83
- { flexRender (
84
- header . column . columnDef . header ,
85
- header . getContext ( ) ,
86
- ) }
87
- { {
88
- asc : < ChevronUpIcon height = { 15 } /> ,
89
- desc : < ChevronDownIcon height = { 15 } /> ,
90
- } [ header . column . getIsSorted ( ) as string ] ?? null }
91
- </ div >
92
- </ th >
93
- ) ) }
94
- </ tr >
95
- ) ) }
96
- </ thead >
97
67
< tbody >
98
68
{ tableInstance . getRowModel ( ) . rows . map ( ( row , index ) => {
99
69
const isLastRow =
You can’t perform that action at this time.
0 commit comments