11import { useState , useCallback } from 'react' ;
2- import {
3- ActionBar as ActionBarContainer ,
4- Pane ,
5- Button ,
6- } from '@cybercongress/gravity' ;
72import { MsgTransfer } from 'cosmjs-types/ibc/applications/transfer/v1/tx' ;
83import Long from 'long' ;
94import BigNumber from 'bignumber.js' ;
@@ -15,11 +10,8 @@ import {
1510 SigningStargateClient ,
1611} from '@cosmjs/stargate' ;
1712import { DEFAULT_GAS_LIMITS } from 'src/constants/config' ;
18- import {
19- ActionBarContentText ,
20- LinkWindow ,
21- ActionBar as ActionBarCenter ,
22- } from '../../../components' ;
13+ import { getNowUtcNumber } from 'src/utils/date' ;
14+ import { LinkWindow , ActionBar as ActionBarCenter } from '../../../components' ;
2315import { LEDGER } from '../../../utils/config' ;
2416import {
2517 fromBech32 ,
@@ -31,7 +23,6 @@ import networks from '../../../utils/networkListIbc';
3123import { TxsType , TypeTxsT } from '../type' ;
3224import ActionBarPingTxs from '../components/actionBarPingTxs' ;
3325import { useIbcHistory } from '../../../features/ibc-history/historyContext' ;
34- import { getNowUtcNumber } from 'src/utils/date' ;
3526
3627const { STAGE_INIT , STAGE_ERROR , STAGE_SUBMITTED } = LEDGER ;
3728
@@ -259,15 +250,12 @@ function ActionBar({ stateActionBar }: { stateActionBar: Props }) {
259250
260251 if ( stage === STAGE_CONFIRMED_IBC ) {
261252 return (
262- < ActionBarContainer >
263- < ActionBarContentText display = "inline" >
264- < Pane display = "inline" > Transaction Successful: </ Pane > { ' ' }
253+ < ActionBarCenter button = { { text : 'Fuck Google' , onClick : clearState } } >
254+ < span >
255+ Transaction Successful:{ ' ' }
265256 < LinkWindow to = { linkIbcTxs } > { trimString ( txHashIbc , 6 , 6 ) } </ LinkWindow >
266- </ ActionBarContentText >
267- < Button marginX = { 10 } onClick = { clearState } >
268- Fuck Google
269- </ Button >
270- </ ActionBarContainer >
257+ </ span >
258+ </ ActionBarCenter >
271259 ) ;
272260 }
273261
0 commit comments