Skip to content

Commit

Permalink
fix: changes in api
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdv committed Aug 7, 2024
1 parent 492e9bd commit ec4888e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion constants/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export type SearchResult = {
error?: string;
};

export type WalletType = "Argent" | "Braavos";
export type WalletType = "argent" | "braavos";

export type WalletState = {
id: string;
Expand Down
4 changes: 2 additions & 2 deletions hooks/getWalletType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export default function getWalletType(network?: NetworkType, address?: string) {
connectedWallet.isConnected
) {
if (connectedWallet.id.includes("argent")) {
setWalletType("Argent");
setWalletType("argent");
} else if (connectedWallet.id === "braavos") {
setWalletType("Braavos");
setWalletType("braavos");
}
}
});
Expand Down
1 change: 0 additions & 1 deletion services/apiService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {
GetDeploymentDataResult,
WalletType,
} from "@/constants/types";
import { Wallet } from "ethers";
import { Signature, stark } from "starknet";

const baseurl = process.env.NEXT_PUBLIC_ETH_BUTTON_API;
Expand Down

0 comments on commit ec4888e

Please sign in to comment.