You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The swap and reset buttons in the CompareForm component currently get disabled when the inputs are empty, even if there is data displayed. They should remain enabled if the data prop is true.
Tasks
Open components/compare-form.tsx.
Update the disabled condition for both the swap and reset buttons to evaluate to (!data && isEmpty) || loading instead of isEmpty || loading.
The swap and reset buttons in the
CompareFormcomponent currently get disabled when the inputs are empty, even if there is data displayed. They should remain enabled if thedataprop is true.Tasks
components/compare-form.tsx.disabledcondition for both the swap and reset buttons to evaluate to(!data && isEmpty) || loadinginstead ofisEmpty || loading.