Skip to content

Commit

Permalink
resolve comments on pull request
Browse files Browse the repository at this point in the history
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
  • Loading branch information
pranalidhanavade committed Jan 3, 2025
1 parent 6d97b8c commit 2438ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Authentication/#User.tsx
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ const #User = () => {
const userRsp = await checkUserExist(values?.email)
const { data } = userRsp as AxiosResponse
setLoading(false)
const { isEmailVerified, isRegistrationCompleted } = data?.data;
const { isEmailVerified, isRegistrationCompleted } = data?.data || {};
if (data?.statusCode === apiStatusCodes.API_STATUS_SUCCESS) {

if (isEmailVerified){

0 comments on commit 2438ae0

Please # to comment.