From 7b88b82186ae2c67a2ca9adb5582c0f09b3a9099 Mon Sep 17 00:00:00 2001 From: Nick Koukis Date: Fri, 20 Oct 2023 00:40:11 +0300 Subject: [PATCH] disable back button if exists userinfo --- src/views/Home/components/NewUserForm/NewUserForm.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/views/Home/components/NewUserForm/NewUserForm.tsx b/src/views/Home/components/NewUserForm/NewUserForm.tsx index 269557d..c834bcc 100644 --- a/src/views/Home/components/NewUserForm/NewUserForm.tsx +++ b/src/views/Home/components/NewUserForm/NewUserForm.tsx @@ -134,11 +134,6 @@ function NewUserForm({ email, userGid, setClickedSubmit }: NewUserFormProps) { {index === 2 && userInfo && !isLoadingUserInfo && } - {index === 3 && !isLoadingUserInfo && - - Connect - - } @@ -155,7 +150,7 @@ function NewUserForm({ email, userGid, setClickedSubmit }: NewUserFormProps) { Connect Wallet )} - {activeStep > 0 && isLastStep && ( + {activeStep > 0 && isLastStep && !userInfo && (