Skip to content

Commit

Permalink
chore: fix feegranter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Hemanthghs committed Sep 20, 2024
1 parent 060b52c commit 7694562
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/custom-hooks/useInitAuthz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const useInitAuthz = ({
baseURL,
chainID,
};
if (enableModules.authz) {
if (enableModules?.authz) {
dispatch(getGrantsByMe(authzInputs));
dispatch(getGrantsToMe(authzInputs));
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/store/features/authz/authzSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export const txAuthzExec = createAsyncThunk(
data.denom
}`,
data.basicChainInfo.rest,
data.feegranter,
data?.feegranter?.length ? data.feegranter : undefined,
'',
data?.basicChainInfo?.restURLs
);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/store/features/bank/bankSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export const txBankSend = createAsyncThunk(
data.denom
}`,
data.basicChainInfo.rest,
data.feegranter,
data?.feegranter?.length ? data.feegranter : undefined,
data?.basicChainInfo?.rpc,
data?.basicChainInfo?.restURLs
);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/store/features/gov/govSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ export const txVote = createAsyncThunk(
data.denom
}`,
data.basicChainInfo.rest,
data.feegranter,
data?.feegranter?.length ? data.feegranter : undefined,
data?.basicChainInfo?.rpc,
data?.basicChainInfo?.restURLs
);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/store/features/multiops/multiopsSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const txExecuteMultiMsg = createAsyncThunk(
data.denom
}`,
data.basicChainInfo.rest,
data.feegranter,
data?.feegranter?.length ? data.feegranter : undefined,
data.basicChainInfo.rpc,
data.basicChainInfo.restURLs
);
Expand Down

0 comments on commit 7694562

Please sign in to comment.