@@ -17,6 +17,7 @@ import {
1717 TabPanels ,
1818 Tabs ,
1919 Tag ,
20+ Text ,
2021 Tooltip ,
2122} from "@chakra-ui/react" ;
2223import { TransactionConfirmationStatus } from "@solana/web3.js" ;
@@ -118,27 +119,36 @@ export const Results: React.FC = () => {
118119 } ;
119120
120121 return (
121- < Grid p = "5" >
122- < Flex >
123- < Heading mb = "6" mr = "3" size = "md" >
122+ < Grid pt = "2" pl = "5" pr = "5" >
123+ < Flex alignItems = "center" mb = "4" >
124+ < Heading mr = "3" size = "md" >
124125 Results
125126 </ Heading >
126127 { results . confirmationStatus === "finalized" ? (
127128 results . error ? (
128- < Tooltip label = "Failed Transaction" >
129- < WarningIcon mt = "0.5" mr = "1" color = "red.400" />
130- </ Tooltip >
129+ < >
130+ < WarningIcon mr = "1" color = "red.400" />
131+ < Text color = "red.400" fontSize = "sm" >
132+ Fail
133+ </ Text >
134+ </ >
131135 ) : (
132- < Tooltip label = "Successful Transction" >
133- < CheckCircleIcon mt = "1" mr = "1" color = "green.400" />
134- </ Tooltip >
136+ < >
137+ < CheckCircleIcon mr = "1" color = "green.400" />
138+ < Text color = "green.400" fontSize = "sm" >
139+ Success
140+ </ Text >
141+ </ >
135142 )
136143 ) : (
137144 signature &&
138145 ! inProgress && (
139- < Tooltip label = "Unknown Transaction Status" >
140- < QuestionIcon mt = "1" mr = "1" color = "yellow.400" />
141- </ Tooltip >
146+ < >
147+ < QuestionIcon mr = "1" color = "yellow.400" />
148+ < Text color = "yellow.400" fontSize = "sm" >
149+ Unknown
150+ </ Text >
151+ </ >
142152 )
143153 ) }
144154
@@ -180,7 +190,6 @@ export const Results: React.FC = () => {
180190 < Tooltip label = "Refresh" >
181191 < IconButton
182192 ml = "1"
183- mt = "-1"
184193 aria-label = "Refresh"
185194 icon = { < RepeatIcon /> }
186195 variant = "ghost"
0 commit comments