Skip to content

Commit

Permalink
fix : 사용하지 않는 svg 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ss0526100 committed Oct 23, 2024
1 parent b0093bb commit 3ea7b80
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/src/pages/Moim/MoimDetailPage/MoimDetailPage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { MoimInfo, Role } from '@_types/index';
import { useNavigate, useParams } from 'react-router-dom';

import BackLogo from '@_common/assets/back.svg';
import Button from '@_components/Button/Button';
import CommentList from './components/CommentList/CommentList';
import CommentListSkeleton from './components/CommentList/CommentListSkeleton';
Expand Down Expand Up @@ -29,7 +31,6 @@ import useOpenChat from '@_hooks/mutaions/useOpenChat';
import useReopenMoim from '@_hooks/mutaions/useReopenMoim';
import { useTheme } from '@emotion/react';
import useZzimMine from '@_hooks/queries/useZzimMine';
import BackArrowButton from '@_components/Button/BackArrowButton/BackArrowButton';

const getButtonMessage = (moim: MoimInfo, role: Role) => {
if (moim.status === 'CANCELED') return '취소된 모임이에요';
Expand Down Expand Up @@ -195,15 +196,13 @@ export default function MoimDetailPage() {
<InformationLayout>
<InformationLayout.Header>
<InformationLayout.Header.Left>

<div
role="button"
aria-label="뒤로가기"
onClick={() => navigate(GET_ROUTES.nowDarakbang.main())}
>
<BackLogo />
</div>

</InformationLayout.Header.Left>
<InformationLayout.Header.Right>
{isZzimMineLoading && (
Expand Down

0 comments on commit 3ea7b80

Please sign in to comment.