Skip to content

Commit

Permalink
Merge pull request #172 from depromeet/feat/#171
Browse files Browse the repository at this point in the history
#171 feat: 첫 방문시 리포트 컴포넌트 0명 표기
  • Loading branch information
y00eunji authored Jan 29, 2024
2 parents 3b77799 + c2c1df8 commit fb900a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/main/StoreDetailSection/Report/ReVisit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function ReVisit() {
return (
<ReportContainer>
<p className="caption-12-regular">재방문한 단골은</p>
<p className="header-20">{data?.totalRevisitedCount}</p>
<p className="header-20">{data?.totalRevisitedCount ?? 0}</p>
<DdobabReportTwoIcon />
</ReportContainer>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/main/StoreDetailSection/Report/TopVisit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function TopVisit() {
return (
<ReportContainer>
<p className="caption-12-regular">이 맛집 최고 단골은</p>
<p className="header-20">{data?.mostVisitedCount}번 방문</p>
<p className="header-20">{data?.mostVisitedCount ?? 0}번 방문</p>
<DdobabReportOneIcon />
</ReportContainer>
);
Expand Down

0 comments on commit fb900a4

Please sign in to comment.