File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
packages/kit/src/views/Market/MarketDetailV2/components/SwapPanel/components Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -234,11 +234,9 @@ export function ActionButton({
234234 const handlePress = useCallback (
235235 async ( event : GestureResponderEvent ) => {
236236 setHasClickedWithoutAmount ( true ) ;
237-
238237 if ( ! hasAmount && ! hasClickedWithoutAmount ) {
239238 return ;
240239 }
241-
242240 if ( noAccount ) {
243241 navigation . pushModal ( EModalRoutes . OnboardingModal , {
244242 screen : EOnboardingPages . GetStarted ,
@@ -296,7 +294,7 @@ export function ActionButton({
296294 < Button
297295 size = { gtMd ? 'medium' : 'large' }
298296 disabled = { isButtonDisabled }
299- onPress = { shouldDisable ? undefined : handlePress }
297+ onPress = { handlePress }
300298 loading = { createAddressLoading || otherProps . loading }
301299 { ...otherProps }
302300 { ...buttonStyleProps }
You can’t perform that action at this time.
0 commit comments