Skip to content

Commit

Permalink
#146 feat: EditModal 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
yeona813 committed Jun 20, 2024
1 parent 6305878 commit 44f8d30
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/app/@modal/(.)modal/detail/edit/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { EditModal } from '@/components/Detail/modal';
import { Modal } from '@/shared/ui/Modal';
import { cookies } from 'next/headers';

const ProductEditModal = () => {
const accessToken = cookies().get('accessToken')?.value ?? '';
return (
<Modal size="large" closeIcon>
<EditModal accessToken={accessToken} />
</Modal>
);
};

export default ProductEditModal;
14 changes: 14 additions & 0 deletions src/app/modal/detail/edit/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { EditModal } from '@/components/Detail/modal';
import { Modal } from '@/shared/ui/Modal';
import { cookies } from 'next/headers';

const ProductEditModal = () => {
const accessToken = cookies().get('accessToken')?.value ?? '';
return (
<Modal size="large" closeIcon>
<EditModal accessToken={accessToken} />
</Modal>
);
};

export default ProductEditModal;

0 comments on commit 44f8d30

Please sign in to comment.