forked from github/plane
style: not showing pointer & theme color on resend code button disabled (#298)
This commit is contained in:
parent
11a36b4398
commit
393638c700
@ -141,8 +141,8 @@ export const EmailCodeForm = ({ onSuccess }: any) => {
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
className={`text-xs mt-5 w-full flex justify-end outline-none hover:text-theme cursor-pointer ${
|
||||
resendCodeTimer > 0 ? "text-gray-400" : "text-theme"
|
||||
className={`text-xs mt-5 w-full flex justify-end outline-none ${
|
||||
isResendDisabled ? "text-gray-400 cursor-default" : "cursor-pointer text-theme"
|
||||
} `}
|
||||
onClick={() => {
|
||||
setIsCodeResending(true);
|
||||
|
Loading…
Reference in New Issue
Block a user