Skip to content

Commit

Permalink
InterestRateField: set disabledReason (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpierre authored Nov 1, 2024
1 parent 0a20fb5 commit 32652dc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ export function InterestRateField({
items={DELEGATE_MODES.map((item) => ({
label: item.label,
secondary: item.secondary,
disabled: item.type === "strategy" ? "Coming soon" : false,
disabled: item.type === "strategy",
disabledReason: "Coming soon",
}))}
menuWidth={300}
menuPlacement="end"
Expand Down

0 comments on commit 32652dc

Please sign in to comment.