fix(tradein/v2): review fixups для LeadForm (#2395)
All checks were successful
CI / frontend-tests (pull_request) Has been skipped
CI Trade-In / changes (pull_request) Successful in 7s
CI / changes (pull_request) Successful in 7s
CI Trade-In / backend-tests (pull_request) Has been skipped
CI / backend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
CI Trade-In / frontend-checks (pull_request) Successful in 1m0s
All checks were successful
CI / frontend-tests (pull_request) Has been skipped
CI Trade-In / changes (pull_request) Successful in 7s
CI / changes (pull_request) Successful in 7s
CI Trade-In / backend-tests (pull_request) Has been skipped
CI / backend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
CI Trade-In / frontend-checks (pull_request) Successful in 1m0s
aria-disabled на submit-кнопке (сопровождает существующий visual opacity-дизейбл, screen-reader parity с disabled); убран неиспользуемый default export (page.tsx импортирует named, default export был dead code).
This commit is contained in:
parent
1954e4fe6b
commit
6a8d588731
1 changed files with 1 additions and 2 deletions
|
|
@ -264,6 +264,7 @@ export function LeadForm({ estimateId }: LeadFormProps) {
|
|||
type="submit"
|
||||
className="lf-submit-btn"
|
||||
disabled={leadMutation.isPending}
|
||||
aria-disabled={canSubmit ? undefined : true}
|
||||
style={{
|
||||
height: 36,
|
||||
flex: "0 0 auto",
|
||||
|
|
@ -339,5 +340,3 @@ export function LeadForm({ estimateId }: LeadFormProps) {
|
|||
</form>
|
||||
);
|
||||
}
|
||||
|
||||
export default LeadForm;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue