Skip to content

Commit

Permalink
Merge pull request #197 from WTFAcademy/fix-personalinfo
Browse files Browse the repository at this point in the history
Fix personalinfo page bug
  • Loading branch information
chongqiangchen authored Jun 14, 2024
2 parents b5e91e4 + c404828 commit b5ff440
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pages/personal/_PersonalInfo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,22 @@ function PersonalInfo() {

return (
<div className="flex flex-col flex-shrink-0 w-full p-8 mr-12 overflow-hidden border box-border border-border-input rounded-md lg:w-[280px]">
<p className="mb-6 text-sm leading-5 text-content-muted">
<div className="mb-6 text-sm leading-5 text-content-muted">
{bio !== null ? (
bio
<p>{bio}</p>
) : (
<Skeleton className="bg-gray-200 w-[210px] h-[20px] rounded-md"></Skeleton>
)}
</p>
</div>
<div className="flex items-center mb-6 text-content-subtle">
<EthereumIcon />
<p className="mx-2 ">
<div className="mx-2 ">
{wallet ? (
truncation(wallet)
) : (
<Skeleton className="bg-gray-200 w-[100px] h-[24px] rounded-md"></Skeleton>
)}
</p>
</div>
<div className="cursor-pointer" onClick={handleCopy}>
{copy ? <CheckIcon /> : <CopyIcon />}
</div>
Expand Down

0 comments on commit b5ff440

Please sign in to comment.