Skip to content

Commit

Permalink
Fixed build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
namedotget committed Jan 18, 2025
1 parent 1193286 commit f931795
Show file tree
Hide file tree
Showing 2 changed files with 1,105 additions and 157 deletions.
40 changes: 13 additions & 27 deletions ui/components/subscription/TeamManageMembers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,20 +115,13 @@ function TeamMembers({
hatName.hatId ===
hatIdDecimalToHex(managerHatId.toString())
) {
await queueSafeTx(
address,
[
{
to: HATS_ADDRESS,
data: txData,
value: '0',
gasLimit: 1000000,
},
],
{
safeTxGas: '1000000',
}
)
await queueSafeTx({
to: HATS_ADDRESS,
data: txData,
value: '0',
safeTxGas: '1000000',
})

setHasDeletedMember(true)
} else {
const signer = sdk?.getSigner()
Expand Down Expand Up @@ -269,19 +262,12 @@ function TeamManageMembersModal({
if (
selectedHatId === hatIdDecimalToHex(managerHatId.toString())
) {
await queueSafeTx(
address,
[
{
to: HATS_ADDRESS,
data: txData,
value: '0',
},
],
{
safeTxGas: '1000000',
}
)
await queueSafeTx({
to: HATS_ADDRESS,
data: txData,
value: '0',
safeTxGas: '1000000',
})
setHasAddedMember(true)
} else {
const signer = sdk?.getSigner()
Expand Down
Loading

0 comments on commit f931795

Please sign in to comment.