Skip to content

Commit 45f8ab7

Browse files
committed
fix: ownerEthType
1 parent 647c649 commit 45f8ab7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/server-components/Profile/ProfileImage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import clsx from 'clsx';
66
import Image from 'next/image';
77
import { useState } from 'react';
88
import { HiUser } from 'react-icons/hi';
9+
import * as types from '@/typedefs/blockchain';
910

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 }) {
1112
const src = `${config.backendUrl}/branding/get-brand-logo?address=${ownerEthAddr}`;
1213

1314
const [hasError, setHasError] = useState(false);

0 commit comments

Comments
 (0)