File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
components/Bridge/v3/Steps Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,14 @@ const SubmitProofs: React.FC<Props> = ({ successStatus }) => {
4545 const foundation = useSyscoinSubmitProofs ( transfer , onSuccess ) ;
4646 const self = useSubmitProof ( transfer , spvProof ) ;
4747
48+ const foundationFundingAvailable = isEnabled ( "foundationFundingAvailable" ) ;
49+
4850 const {
4951 mutate : submitProofs ,
5052 isLoading : isSigning ,
5153 isError : isSignError ,
5254 error : signError ,
53- } = isEnabled ( " foundationFundingAvailable" ) ? foundation : self ;
55+ } = foundationFundingAvailable ? foundation : self ;
5456
5557 const sign = ( ) => {
5658 submitProofs ( undefined , { onSuccess } ) ;
@@ -65,7 +67,13 @@ const SubmitProofs: React.FC<Props> = ({ successStatus }) => {
6567 }
6668
6769 if ( isSigning ) {
68- return < Alert severity = "info" > Check NEVM Wallet for signing</ Alert > ;
70+ return (
71+ < Alert severity = "info" >
72+ { foundationFundingAvailable
73+ ? "Submitting proofs..."
74+ : "Check NEVM Wallet for signing" }
75+ </ Alert >
76+ ) ;
6977 }
7078
7179 if ( isSignError ) {
You can’t perform that action at this time.
0 commit comments