diff --git a/components/Cakes/CakesForm.tsx b/components/Cakes/CakesForm.tsx index a9f2fe9c..0d08cc59 100644 --- a/components/Cakes/CakesForm.tsx +++ b/components/Cakes/CakesForm.tsx @@ -11,6 +11,7 @@ import { StyledBox } from '../Common/Box'; import BackBtn from '../Common/Button/BackBtn'; import { CakeListType } from '@/types/cakes/cakeListType'; import { useGetPublicWishes } from '@/hooks/queries/public'; +import { UseMutateFunction } from 'react-query'; import theme from '@/styles/theme'; import { useEffect, useState } from 'react'; diff --git a/components/Cakes/CakesPay.tsx b/components/Cakes/CakesPay.tsx index 3849b488..3a145191 100644 --- a/components/Cakes/CakesPay.tsx +++ b/components/Cakes/CakesPay.tsx @@ -37,7 +37,7 @@ interface CakesPayProps { } export default function CakesPay(props: CakesPayProps) { - const { handlePrevStep, selectedCake, wishesId, postPublicCakesData } = props; + const { handlePrevStep, handleNextStep, selectedCake, wishesId, postPublicCakesData } = props; const { publicWishesData } = useGetPublicWishes(wishesId); diff --git a/components/Mypage/EditWishes/index.tsx b/components/Mypage/EditWishes/index.tsx index 4c6f04b3..fdc1e934 100644 --- a/components/Mypage/EditWishes/index.tsx +++ b/components/Mypage/EditWishes/index.tsx @@ -102,6 +102,8 @@ export default function EditWishesContainer() { handlePutProgressWishes(); }; + console.log(progressData); + return ( <> diff --git a/components/Mypage/index.tsx b/components/Mypage/index.tsx index 26a04497..d9e74314 100644 --- a/components/Mypage/index.tsx +++ b/components/Mypage/index.tsx @@ -10,6 +10,7 @@ import Modal from '@/components/Common/Modal'; import useModal from '@/hooks/common/useModal'; import { MypageCakeImg } from '@/public/assets/images'; import { useEffect, useState } from 'react'; +import { deleteUserInfo } from '@/api/user'; import { useGetMainProgressData, usePatchProgressWishes } from '@/hooks/queries/wishes'; import CancleWishesModal from '../Common/Modal/CancelWishesModal'; diff --git a/components/Wishes/WishesForm/WishesStep1.tsx b/components/Wishes/WishesForm/WishesStep1.tsx index 225e7680..44f83a28 100644 --- a/components/Wishes/WishesForm/WishesStep1.tsx +++ b/components/Wishes/WishesForm/WishesStep1.tsx @@ -3,6 +3,7 @@ import ItemLink from './ItemLink'; import { LIMIT_TEXT } from '@/constant/limitText'; import { ChangeEvent, PropsWithChildren, useEffect, useState } from 'react'; import styled from 'styled-components'; +import UploadTypeToggleBtn from '@/components/Common/UploadTypeToggleBtn'; import { WishesDataInputType } from '@/types/wishesType'; import { UseFormReturn } from 'react-hook-form'; import Input from '@/components/Common/Input/Input'; diff --git a/components/footer.tsx b/components/footer.tsx index bbe497b2..25206930 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -1,9 +1,11 @@ +import { LogoImg } from '@/public/assets/images'; import theme from '@/styles/theme'; import styled from 'styled-components'; +import Image from 'next/image'; export default function Footer() { const handleTermsOfUse = () => { - window.open('https://hwajeonglee.notion.site/080d632659a94e1b9131567947f679a3'); + window.open('https://mercurial-fuschia-8f2.notion.site/7e827f42eecb46f382ac46cf183245d3'); }; const handlePrivacyPolicy = () => { diff --git a/pages/_app.tsx b/pages/_app.tsx index e3ba5f5b..8179408f 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -9,6 +9,7 @@ import theme from '@/styles/theme'; import { useEffect } from 'react'; import Script from 'next/script'; import Loading from '@/components/Common/Loading/Loading'; +import Footer from '@/components/footer'; declare global { interface Window {