Skip to content

Commit 49718c0

Browse files
committed
update
1 parent f81c1af commit 49718c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export const SettingsPlatformFees = ({
8686
});
8787
// In the v4 hook we defaulted recipient to address_zero and bps to `0`
8888
// but let's actually throw an error here for better transparency
89-
if (!data.platform_fee_basis_points) {
89+
if (data.platform_fee_basis_points === undefined) {
9090
return toast.error("Please enter valid basis points.");
9191
}
9292
if (!data.platform_fee_recipient) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const SettingsRoyalties = ({
9999
});
100100
// In the v4 hook we defaulted recipient to address_zero and bps to `0`
101101
// but let's actually throw an error here for better transparency
102-
if (!d.seller_fee_basis_points) {
102+
if (d.seller_fee_basis_points === undefined) {
103103
return toast.error("Please enter valid basis points.");
104104
}
105105
if (!d.fee_recipient) {

0 commit comments

Comments
 (0)