Skip to content

Commit b16425b

Browse files
committed
feat: link a profile to github (#22)
1 parent 2090bec commit b16425b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pages/[passportId].tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ export default function ProfilePage({ citizen, nationCred, veNation, dework, sou
103103
</div>
104104
<div className='w-full md:w-1/4 lg:w-2/4 mt-2 bg-white dark:bg-slate-800 rounded-lg drop-shadow-sm'>
105105
{router.isFallback ? (
106-
<LoadingIndicator />
106+
<div className='p-4'>
107+
<LoadingIndicator />
108+
</div>
107109
) : (
108110
<Link href={`https://etherscan.io/nft/0x3337dac9F251d4E403D6030E18e3cfB6a2cb1333/${citizen.passportId}`} target='_blank'>
109111
<Image alt="NFT Passport" className="w-full" src={`https://storage.googleapis.com/nftimagebucket/tokens/0x3337dac9f251d4e403d6030e18e3cfb6a2cb1333/${citizen.passportId}.svg`} width={200} height={200} />

0 commit comments

Comments
 (0)