Skip to content

Commit 8c8edd6

Browse files
committed
Fix Transaction Count shown in tx button in TransferableModule
1 parent 5a13348 commit 8c8edd6

File tree

1 file changed

+2
-1
lines changed
  • apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components

1 file changed

+2
-1
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/Transferable.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ export function TransferableModuleUI(
158158
};
159159

160160
const isRestricted = form.watch("isRestricted");
161+
const allowListLength = form.watch("allowList").length;
161162

162163
return (
163164
<Form {...form}>
@@ -177,7 +178,7 @@ export function TransferableModuleUI(
177178
}
178179
isLoading={updateMutation.isPending}
179180
colorScheme="primary"
180-
transactionCount={1}
181+
transactionCount={1 + allowListLength}
181182
txChainID={props.contractChainId}
182183
>
183184
Update

0 commit comments

Comments
 (0)