Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(passport): Connect with Email-Error message on clicking 'Verify' … #2397

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,14 @@ export default function EmailOTPValidator({

inputRefs[i].current?.select()
}}
className={`flex text-base lg:text-2xl py-7 px-3.5 h-20 justify-center items-center text-gray-600 dark:text-white dark:bg-gray-800 border rounded-lg text-center ${isInvalid ? 'border-red-500' : 'dark:border-gray-600'
}`}
className={`flex text-base lg:text-2xl py-7 px-3.5 h-20 justify-center items-center text-gray-600 dark:text-white dark:bg-gray-800 border rounded-lg text-center ${
isInvalid ? 'border-red-500' : 'dark:border-gray-600'
}`}
/>
))}
</div>

{showInvalidMessage && invalid && (
{!loading && (showInvalidMessage || invalid) && (
<Text
size="sm"
weight="medium"
Expand All @@ -217,8 +218,9 @@ export default function EmailOTPValidator({
<Text
type="span"
size="sm"
className={`${regenerationRequested ? 'text-gray-300' : 'text-indigo-500'
} cursor-pointer relative`}
className={`${
regenerationRequested ? 'text-gray-300' : 'text-indigo-500'
} cursor-pointer relative`}
onClick={() => {
if (regenerationRequested) return

Expand Down Expand Up @@ -258,7 +260,7 @@ export default function EmailOTPValidator({
btnType="secondary-alt-skin"
className="flex-1 w-full"
onClick={onCancel}
>Ș
>
Cancel
</Button>
)}
Expand Down
Loading