File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,6 @@ export const BridgeCTAButton = ({
150150 } }
151151 loading = { isSubmitting }
152152 disabled = {
153- // Disable submission until all quotes have been fetched
154- isLoading ||
155153 ! isTxSubmittable ||
156154 isTxAlertPresent ||
157155 isQuoteExpired ||
Original file line number Diff line number Diff line change @@ -209,7 +209,6 @@ const PrepareBridgePage = ({
209209 isLoading,
210210 // This quote may be older than the refresh rate, but we keep it for display purposes
211211 activeQuote : unvalidatedQuote ,
212- quotesRefreshCount,
213212 } = useSelector ( getBridgeQuotes ) ;
214213
215214 const isQuoteExpired = useSelector ( ( state ) =>
@@ -253,7 +252,6 @@ const PrepareBridgePage = ({
253252
254253 const ticker = useMultichainSelector ( getMultichainNativeCurrency ) ;
255254 const {
256- isEstimatedReturnLow,
257255 isNoQuotesAvailable,
258256 isInsufficientGasForQuote,
259257 isInsufficientBalance,
@@ -300,10 +298,6 @@ const PrepareBridgePage = ({
300298
301299 const [ rotateSwitchTokens , setRotateSwitchTokens ] = useState ( false ) ;
302300
303- // Resets the banner visibility when the estimated return is low
304- const [ isLowReturnBannerOpen , setIsLowReturnBannerOpen ] = useState ( true ) ;
305- useEffect ( ( ) => setIsLowReturnBannerOpen ( true ) , [ quotesRefreshCount ] ) ;
306-
307301 // Resets the banner visibility when new alerts found
308302 const [ isTokenAlertBannerOpen , setIsTokenAlertBannerOpen ] = useState ( true ) ;
309303 useEffect ( ( ) => setIsTokenAlertBannerOpen ( true ) , [ tokenAlert ] ) ;
You can’t perform that action at this time.
0 commit comments