Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 내 정보 QA 반영 #59

Merged
merged 9 commits into from
Aug 30, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
empty
woo-jk committed Aug 30, 2024
commit e7e093079757c0fe5dcc9c9a096c10598daeb431
6 changes: 5 additions & 1 deletion src/app/(sidebar)/(my-info)/components/InfoCardList.tsx
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
import { InfoType } from '@/types/info';
import { useGetInfoCardList } from '../apis/useGetInfoCardList';
import { InfoCard } from '@/components/InfoCard';
import { Icon } from '@/system/components';

interface InfoCardListProps {
cardType: InfoType;
@@ -22,7 +23,10 @@ export function InfoCardList({ cardType }: InfoCardListProps) {
))}
</ul>
) : (
<div className="mt-50 text-center text-body1 text-neutral-30">아직 생성된 정보 카드가 없어요!</div>
<div className="flex flex-col h-[calc(100vh-400px)] items-center justify-center">
<Icon name="empty" size={280} />
<p className="text-center text-body1 text-neutral-30">아직 생성된 정보 카드가 없어요!</p>
</div>
)}
</section>
);