Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/web/app/profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import ButtonSignOut from '@/components/user/button-sign-out';

import { getMyProfile } from '@/lib/actions/profile';

export const dynamic = 'force-dynamic';
const ProfilePage = async () => {
const profile = await getMyProfile();
if (!profile) {
Expand Down
9 changes: 4 additions & 5 deletions apps/web/src/components/auction/auction-card-skeleton.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
const AuctionItemCardSkeleton = () => {
return (
<div className="flex w-full animate-pulse items-center justify-between gap-2.5">
<div className="w-26.5 h-26.5 rounded-lg bg-neutral-200" />
<div className="flex-1 space-y-2.5 [&_div]:rounded [&_div]:bg-neutral-200">
<div className="h-6 w-3/4" />
<div className="mb-2 flex w-full animate-pulse justify-between gap-2.5">
<div className="size-21.5 rounded-lg border-neutral-200 bg-neutral-200" />
<div className="mt-2 flex-1 space-y-2 [&_div]:rounded [&_div]:bg-neutral-200">
<div className="h-5 w-3/4" />
<div className="h-4 w-3/5" />
<div className="w-15 h-6" />
</div>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/components/auction/categories-filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const CategoriesFilter = () => {

if (isLoading || !categoriesData) {
return (
<div className="my-3 flex gap-2">
<div className="mb-3 mt-2 flex gap-2">
{Array.from({ length: 6 }).map((_, i) => (
<div key={i} className="w-89 h-[35px] animate-pulse rounded bg-neutral-200" />
<div key={i} className="w-89 h-[35px] animate-pulse rounded-md bg-neutral-200" />
))}
</div>
); // 로딩 상태에서의 스켈레톤 UI
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/common/auction-card/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,10 @@ const AuctionItemCard = ({
className="relative mb-2 flex w-full items-center justify-between gap-2.5 overflow-hidden"
>
<div className="z-auto">
{/* <BadgeBidStatus status={finalStatus} /> */}
<Thumbnail
url={thumbnailUrl}
alt={`${title} 썸네일`}
size={86}
className="size-24"
priority={idx! < 5}
quality={50}
fetchPriority={idx === 0 ? 'high' : undefined}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/common/auction-card/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const AuctionItemList = ({

if (isLoading) {
return (
<div className="flex min-h-[100vhd] flex-col gap-4">
<div className="flex min-h-[100vhd] flex-col">
{Array.from({ length: 5 }).map((_, i) => (
<AuctionItemCardSkeleton key={i} />
))}
Expand Down
Loading