Skip to content

Commit 32d447e

Browse files
committed
fix hidden param filtering
1 parent 9424c3d commit 32d447e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ export const CustomContractForm: React.FC<CustomContractFormProps> = ({
376376

377377
if (
378378
shouldHide(paramKey) ||
379-
!extraMetadataParam?.hidden ||
379+
extraMetadataParam?.hidden !== true ||
380380
extraMetadataParam?.dynamicValue
381381
) {
382382
return null;
@@ -778,7 +778,7 @@ export const CustomContractForm: React.FC<CustomContractFormProps> = ({
778778

779779
if (
780780
shouldHide(paramKey) ||
781-
extraMetadataParam?.hidden ||
781+
extraMetadataParam?.hidden === true ||
782782
extraMetadataParam?.dynamicValue
783783
) {
784784
return null;

0 commit comments

Comments
 (0)