File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { useState , useEffect } from 'react' ;
2
2
import Head from 'next/head' ;
3
+ import { Text as TextDemo } from '@chakra-ui/react' ;
3
4
import { ArrowDown , ArrowUp } from 'react-feather' ;
4
5
5
6
import { useAccount } from '../context/Account' ;
@@ -90,8 +91,22 @@ const Dashboard = ({ price }) => {
90
91
< Container size = 'small' >
91
92
{ /* Balance */ }
92
93
< Flex direction = 'column' align = 'center' >
93
- < Text size = 'small' > Su balance</ Text >
94
- < Divider y = { 4 } />
94
+ < Flex justify = 'center' align = 'center' gap = { 8 } >
95
+ < Text size = 'small' > Su balance</ Text >
96
+ { /* POC */ }
97
+ < TextDemo
98
+ bg = 'terciary15'
99
+ color = 'terciary'
100
+ p = '4px 12px'
101
+ borderRadius = { 99 }
102
+ fontSize = '12px'
103
+ fontWeight = { 'bold' }
104
+ textTransform = { 'uppercase' }
105
+ >
106
+ Testnet
107
+ </ TextDemo >
108
+ </ Flex >
109
+ < Divider y = { 16 } />
95
110
< Text fontSize = { 32 } isBold >
96
111
${ formatPrice ( Number ( total ) . toFixed ( 2 ) , 2 ) }
97
112
</ Text >
You can’t perform that action at this time.
0 commit comments