File tree Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -7,18 +7,20 @@ export default function Stats({ id }: { id: string }) {
7
7
const stats = useSuspense ( StatsResource . get , { id } ) ;
8
8
return (
9
9
< table >
10
- < tr >
11
- < th align = "right" > high</ th >
12
- < td > { formatPrice . format ( stats . high ) } </ td >
13
- </ tr >
14
- < tr >
15
- < th align = "right" > low</ th >
16
- < td > { formatPrice . format ( stats . low ) } </ td >
17
- </ tr >
18
- < tr >
19
- < th align = "right" > volume</ th >
20
- < td > { formatLargePrice . format ( stats . volume_usd ) } </ td >
21
- </ tr >
10
+ < tbody >
11
+ < tr >
12
+ < th align = "right" > high</ th >
13
+ < td > { formatPrice . format ( stats . high ) } </ td >
14
+ </ tr >
15
+ < tr >
16
+ < th align = "right" > low</ th >
17
+ < td > { formatPrice . format ( stats . low ) } </ td >
18
+ </ tr >
19
+ < tr >
20
+ < th align = "right" > volume</ th >
21
+ < td > { formatLargePrice . format ( stats . volume_usd ) } </ td >
22
+ </ tr >
23
+ </ tbody >
22
24
</ table >
23
25
) ;
24
26
}
Original file line number Diff line number Diff line change @@ -53,5 +53,5 @@ export const getTicker = new RestEndpoint({
53
53
urlPrefix : 'https://api.exchange.coinbase.com' ,
54
54
path : '/products/:product_id/ticker' ,
55
55
schema : Ticker ,
56
- channel : 'ticker_batch ' ,
56
+ channel : 'ticker ' ,
57
57
} ) ;
You can’t perform that action at this time.
0 commit comments