Skip to content

Commit

Permalink
hotfix: 더미값 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
sumi-0011 committed Mar 20, 2024
1 parent 2e74fd4 commit 5ab9e7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/components/sideMenu/ConditionalSurveyLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { css } from '@emotion/react';

import NewFeedbackBadge from '~/components/badge/NewFeedbackBadge';
import InternalLink from '~/components/link/InternalLink';
import useGetFeedbackSummaryBySurveyId from '~/hooks/api/feedbacks/useGetFeedbackSummaryBySurveyId';
import useGetSurveyIdByUserStatus from '~/hooks/api/surveys/useGetSurveyIdByUserStatus';

// NOTE: ConditionalCtaLink와 동일, 임시 컴포넌트
Expand Down Expand Up @@ -44,10 +45,7 @@ interface ResultLinkProps {
}

const ResultLink = ({ surveyId }: ResultLinkProps) => {
// const { data } = useGetFeedbackSummaryB?ySurveyId(surveyId);
const data = {
new_feedback_count: 10,
};
const { data } = useGetFeedbackSummaryBySurveyId(surveyId);

return (
<InternalLink href="/result" css={linkCss}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/sideMenu/ProfileSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const profileSectionCss = css`

const profileImageCss = css`
width: 64px;
height: 64px;
height: 65px;
background-color: #fff;
border-radius: 50%;
Expand Down

0 comments on commit 5ab9e7b

Please sign in to comment.