@@ -19,6 +19,8 @@ import {
1919 DropdownMenuTrigger ,
2020} from '@/components/ui/dropdown-menu' ;
2121import { TokenDisplay } from '@/types/token' ;
22+ import { Badge } from '@/components/ui/badge' ;
23+ import { Loader } from '@/components/ui/loader' ;
2224import { getAllTokens , getTokenCount } from '@/lib/token/tokenData' ;
2325import { TokenStorage } from '@/lib/token/tokenStorage' ;
2426import { SelectedWalletAccountContext } from '@/context/SelectedWalletAccountContext' ;
@@ -80,7 +82,7 @@ function DashboardConnected({ publicKey }: { publicKey: string }) {
8082 < div className = "flex-1 p-8" >
8183 < div className = "flex items-center justify-center h-64" >
8284 < div className = "text-center" >
83- < div className = "animate-spin rounded-full h-8 w-8 border-b-2 border-primary mx-auto mb-4" > </ div >
85+ < Loader className = "h-8 w-8 mx-auto mb-4" / >
8486 < p className = "text-muted-foreground" > Loading your tokens...</ p >
8587 </ div >
8688 </ div >
@@ -201,9 +203,14 @@ function DashboardConnected({ publicKey }: { publicKey: string }) {
201203 < Coins className = "h-6 w-6 text-primary mr-3" />
202204 < div >
203205 < CardTitle className = "text-lg" >
204- { token . name || `Token ${ index + 1 } ` }
206+ { token . name || `Token ${ index + 1 } ` } { ' ' }
207+ < Badge
208+ className = "ml-2 align-middle text-sm"
209+ variant = "outline"
210+ >
211+ { token . symbol || 'TKN' }
212+ </ Badge >
205213 </ CardTitle >
206- < CardDescription > { token . symbol || 'TKN' } </ CardDescription >
207214 </ div >
208215 </ div >
209216 < DropdownMenu >
@@ -246,25 +253,27 @@ function DashboardConnected({ publicKey }: { publicKey: string }) {
246253 < div className = "space-y-2 text-sm" >
247254 < div className = "flex justify-between" >
248255 < span className = "text-muted-foreground" > Type:</ span >
249- < span className = "font-medium " >
256+ < span className = "font-normal " >
250257 { getTokenTypeLabel ( token . type ) }
251258 </ span >
252259 </ div >
253260 < div className = "flex justify-between" >
254261 < span className = "text-muted-foreground" > Supply:</ span >
255- < span > { token . supply || '0' } </ span >
262+ < span className = "font-normal" > { token . supply || '0' } </ span >
256263 </ div >
257264 < div className = "flex justify-between" >
258265 < span className = "text-muted-foreground" > Decimals:</ span >
259- < span > { token . decimals || '6' } </ span >
266+ < span className = "font-normal" > { token . decimals || '6' } </ span >
260267 </ div >
261268 < div className = "flex justify-between" >
262269 < span className = "text-muted-foreground" > Created:</ span >
263- < span > { formatDate ( token . createdAt ) } </ span >
270+ < span className = "font-normal" >
271+ { formatDate ( token . createdAt ) }
272+ </ span >
264273 </ div >
265274 < div className = "flex justify-between" >
266275 < span className = "text-muted-foreground" > Status:</ span >
267- < span className = "text-green-600" > Active</ span >
276+ < span className = "text-green-600 font-normal " > Active</ span >
268277 </ div >
269278 { token . extensions && token . extensions . length > 0 && (
270279 < div className = "pt-2" >
0 commit comments