Skip to content

Commit

Permalink
fix: clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
jurevans committed Nov 27, 2024
1 parent e8ea42a commit ae29cd6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions apps/extension/src/Approvals/ApproveConnection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const ApproveConnection: React.FC = () => {
Approve connection for <strong>{interfaceOrigin}</strong>
{chainId && (
<>
{" "}
and enable signing for <strong>{chainId}</strong>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/namadillo/src/atoms/balance/atoms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const shieldedBalanceAtom = atomWithQuery<
// Sdk returns the nam amount as `nam` instead of `namnam`
namTokenAddressQuery.data === address ?
new BigNumber(amount).shiftedBy(6)
: new BigNumber(amount),
: new BigNumber(amount),
}));
return shieldedBalance;
}, [viewingKeysQuery, tokenAddressesQuery, namTokenAddressQuery]),
Expand Down
6 changes: 2 additions & 4 deletions packages/integrations/src/Namada.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@ export default class Namada implements Integration<Account, Signer> {
return await this._namada?.getChain();
}

public async accounts(
chainId?: string
): Promise<readonly Account[] | undefined> {
return await this._namada?.accounts(chainId);
public async accounts(): Promise<readonly Account[] | undefined> {
return await this._namada?.accounts();
}

public async defaultAccount(): Promise<Account | undefined> {
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/namada.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export type BalancesProps = {
};

export interface Namada {
accounts(chainId?: string): Promise<readonly Account[] | undefined>;
accounts(): Promise<readonly Account[] | undefined>;
connect(chainId?: string): Promise<void>;
disconnect(chainId?: string): Promise<void>;
isConnected(chainId?: string): Promise<boolean | undefined>;
Expand Down

0 comments on commit ae29cd6

Please sign in to comment.