We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 647c649 commit 45f8ab7Copy full SHA for 45f8ab7
app/server-components/Profile/ProfileImage.tsx
@@ -6,8 +6,9 @@ import clsx from 'clsx';
6
import Image from 'next/image';
7
import { useState } from 'react';
8
import { HiUser } from 'react-icons/hi';
9
+import * as types from '@/typedefs/blockchain';
10
-export default function ProfileImage({ ownerEthAddr, isSmall = false }: { ownerEthAddr: string; isSmall?: boolean }) {
11
+export default function ProfileImage({ ownerEthAddr, isSmall = false }: { ownerEthAddr: types.EthAddress; isSmall?: boolean }) {
12
const src = `${config.backendUrl}/branding/get-brand-logo?address=${ownerEthAddr}`;
13
14
const [hasError, setHasError] = useState(false);
0 commit comments