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 0d0b76e commit de7291c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 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
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 de7291c

Please sign in to comment.