style: not showing pointer & theme color on resend code button disabled (#298)

This commit is contained in:
Dakshesh Jain 2023-02-17 20:10:44 +05:30 committed by GitHub
parent 11a36b4398
commit 393638c700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,8 +141,8 @@ export const EmailCodeForm = ({ onSuccess }: any) => {
/> />
<button <button
type="button" type="button"
className={`text-xs mt-5 w-full flex justify-end outline-none hover:text-theme cursor-pointer ${ className={`text-xs mt-5 w-full flex justify-end outline-none ${
resendCodeTimer > 0 ? "text-gray-400" : "text-theme" isResendDisabled ? "text-gray-400 cursor-default" : "cursor-pointer text-theme"
} `} } `}
onClick={() => { onClick={() => {
setIsCodeResending(true); setIsCodeResending(true);