Skip to content

Commit f86711e

Browse files
committed
[MNY-250] Fix Save button not enabled after changing Royalty BPS in contract settings page
1 parent 43b0680 commit f86711e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/settings/components/platform-fees.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export function SettingsPlatformFees({
137137
onChange={(value) =>
138138
form.setValue("platform_fee_basis_points", value, {
139139
shouldValidate: true,
140+
shouldDirty: true,
140141
})
141142
}
142143
value={form.watch("platform_fee_basis_points")}

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/settings/components/royalties.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ export function SettingsRoyalties({
151151
onChange={(value) =>
152152
form.setValue("seller_fee_basis_points", value, {
153153
shouldValidate: true,
154+
shouldDirty: true,
154155
})
155156
}
156157
value={form.watch("seller_fee_basis_points")}

0 commit comments

Comments
 (0)