Skip to content

Commit

Permalink
refactor: image 설정 수정, 불필요한 로깅 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-dong-su committed Apr 12, 2024
1 parent 911d140 commit 8e1b77a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/web/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const nextConfig = {
},
],
deviceSizes: [450],
imageSizes: [16, 32, 48, 64, 96, 128, 256, 384, 450],
minimumCacheTTL: 31536000,
imageSizes: [16, 32, 48, 64, 96, 128, 256, 450],
minimumCacheTTL: 6000,
formats: ['image/webp'],
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ export default function ProfileDetailSection({ profileData }: ProfileDetailProps
GLODDY: <GloddyIcon width={16} height={16} />,
};

console.log(reliabilityLevel);

return (
<>
<section className="rounded-b-24 shadow-float bg-white">
Expand Down Expand Up @@ -105,7 +103,7 @@ export default function ProfileDetailSection({ profileData }: ProfileDetailProps
<h4 className="text-h4 relative flex items-center gap-5">
{countryImage && (
<div className="relative h-16 w-24">
<Image src={countryImage} fill sizes="32px" className="object-fill" alt="국가" />
<Image src={countryImage} fill sizes="24px" className="object-fill" alt="국가" />
</div>
)}
<span>{nickname}</span>
Expand Down

0 comments on commit 8e1b77a

Please sign in to comment.