Skip to content

Commit

Permalink
Merge pull request #904 from lfglabs-dev/testnet
Browse files Browse the repository at this point in the history
MEP 01/10/2024
  • Loading branch information
fricoben authored Nov 1, 2024
2 parents e139699 + c15caf3 commit 8ff1609
Show file tree
Hide file tree
Showing 13 changed files with 7,963 additions and 12,188 deletions.
13 changes: 6 additions & 7 deletions components/UI/modalWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import CopyIcon from "./iconsComponents/icons/copyIcon";
import DoneIcon from "./iconsComponents/icons/doneIcon";
import { useNotificationManager } from "../../hooks/useNotificationManager";
import { useCopyToClipboard } from "@/hooks/useCopy";
import { getConnectorIcon } from "@/utils/connectorWrapper";

type ModalWalletProps = {
closeModal: () => void;
Expand Down Expand Up @@ -62,16 +63,14 @@ const ModalWallet: FunctionComponent<ModalWalletProps> = ({
</button>
<div className={styles.menu_title}>
<div className={styles.menu_title}>
{connector && connector.id === "braavos" ? (
{connector && (
<img
width={"25px"}
src="/braavos/braavosLogo.svg"
alt="braavos logo"
src={getConnectorIcon(connector.id)}
width={25}
height={25}
alt="connector logo"
/>
) : (
<ArgentIcon color={"#f36a3d"} width={"25px"} />
)}

<p className="ml-2">Connected with &nbsp;{domain}&nbsp;</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/domains/externalDomainCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const ExternalDomainCard: FunctionComponent<ExternalDomainCardProps> = ({
? "/braavos/braavosLogoWithBackground.webp"
: domainKind === "sol"
? "/solana/bonfida.webp"
: `${process.env.NEXT_PUBLIC_STARKNET_ID}/api/identicons/0`
: `https://identicon.starknet.id/0`
}
height={150}
width={150}
Expand Down
2 changes: 1 addition & 1 deletion components/domains/selectIdentity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const SelectIdentity: FunctionComponent<SelectIdentityProps> = ({
<ListItemIcon>
<img
width={"25px"}
src={`${process.env.NEXT_PUBLIC_STARKNET_ID}/api/identicons/${tokenId}`}
src={`https://identicon.starknet.id/${tokenId}`}
alt="starknet.id avatar"
/>
</ListItemIcon>
Expand Down
2 changes: 1 addition & 1 deletion components/identities/identitiesGalleryV1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const IdentitiesGalleryV1: FunctionComponent<IdentitiesGalleryV1Props> = ({
<img
width={150}
height={150}
src={`${process.env.NEXT_PUBLIC_STARKNET_ID}/api/identicons/0`}
src="https://identicon.starknet.id/0"
alt="avatar"
onClick={() => router.push(`/externaldomains/${domain}`)}
/>
Expand Down
2 changes: 1 addition & 1 deletion hooks/useBalances.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function useBalances(address?: string) {
functionName: "aggregate",
args: callData,
watch: true,
blockIdentifier: BlockTag.pending,
blockIdentifier: BlockTag.PENDING,
});

useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion hooks/useNeedAllowances.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function useNeedsAllowances(
functionName: "aggregate",
args: callData,
watch: true,
blockIdentifier: BlockTag.pending,
blockIdentifier: BlockTag.PENDING,
});

useEffect(() => {
Expand Down
Loading

0 comments on commit 8ff1609

Please sign in to comment.