Skip to content

Commit

Permalink
chore: delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
kcwww committed Dec 11, 2024
1 parent 3a20141 commit 2d45960
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 71 deletions.
7 changes: 0 additions & 7 deletions app/(landing)/_components/IntroButtonSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,6 @@ const IntroButtonSection = () => {
구글 로그인은 크롬 및 모바일 브라우저에서만 가능합니다.
</p>
)}
{/* <Button
onClick={() => onOpen(MODAL_TYPE.GUEST)}
className="w-1/2 border-none md:w-1/3"
variant="outline"
>
게스트로 로그인
</Button> */}
</div>
<DrawerFooter className="flex items-center justify-center ">
<DrawerClose className="w-1/3 rounded-md bg-gray-50 py-2 text-primary">
Expand Down
61 changes: 0 additions & 61 deletions shared/components/modals/GuestModal.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions shared/components/providers/ModalProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { useEffect, useState } from 'react';
import IntroduceModal from '@/shared/components/modals/IntroduceModal';
import GuestModal from '@/shared/components/modals/GuestModal';

import MessageModal from '@/shared/components/modals/MessageModal';
import FormModal from '@/shared/components/modals/FormModal';
import MessageListModal from '@/shared/components/modals/MessageListModal';
Expand All @@ -23,7 +23,7 @@ const ModalProvider = () => {
return (
<>
<IntroduceModal />
<GuestModal />

<MessageModal />
<FormModal />
<MessageListModal />
Expand Down
1 change: 0 additions & 1 deletion shared/constants/modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export const MSG_COLOR = [
] as const;

const MODAL_TYPE = {
GUEST: 'Guest',
INTRODUCE: 'Intro',
MESSAGE: 'Message',
FORM: 'Form',
Expand Down

0 comments on commit 2d45960

Please sign in to comment.