Skip to content

Commit

Permalink
showing pp
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchand-Nicolas committed May 23, 2024
1 parent 676abbc commit f315c6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/web/src/app/_components/ConnectStarkNetButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export default function ConnectStarknetButton() {
<Image
src={
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
starkProfile?.profilePicture ??
WALLET_LOGOS_BY_ID[connector.id] ??
DEFAULT_STARKNET_CONNECTOR_LOGO
}
Expand Down
7 changes: 6 additions & 1 deletion apps/web/src/app/_components/StarknetConnectorList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,14 @@ export default function StarknetConnectorList({
>
{activeConnector?.id !== undefined && (
<Image
src={
starkProfile?.profilePicture ??
WALLET_LOGOS_BY_ID[activeConnector?.id] ??
""
}
alt="connector"
className="rounded-full"
height={28}
src={WALLET_LOGOS_BY_ID[activeConnector?.id] ?? ""}
width={28}
/>
)}
Expand Down

0 comments on commit f315c6f

Please sign in to comment.