Skip to content

Commit

Permalink
Merge pull request #203 from Make-A-Wish-Sopt/hotfix/200-footerLink
Browse files Browse the repository at this point in the history
Hotfix/200 footer link
  • Loading branch information
myeongheonhong committed Feb 14, 2024
2 parents 386ddce + 843cde7 commit 0a94a6c
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion components/Cakes/CakesForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ 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';

Expand Down
2 changes: 1 addition & 1 deletion components/Cakes/CakesPay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ interface CakesPayProps {
}

export default function CakesPay(props: CakesPayProps) {
const { handlePrevStep, handleNextStep, selectedCake, wishesId, postPublicCakesData } = props;
const { handlePrevStep, selectedCake, wishesId, postPublicCakesData } = props;

const { publicWishesData } = useGetPublicWishes(wishesId);

Expand Down
2 changes: 0 additions & 2 deletions components/Mypage/EditWishes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ export default function EditWishesContainer() {
handlePutProgressWishes();
};

console.log(progressData);

return (
<>
<Styled.TitleWrapper>
Expand Down
1 change: 0 additions & 1 deletion components/Mypage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ 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';

Expand Down
1 change: 0 additions & 1 deletion components/Wishes/WishesForm/WishesStep1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ 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';
Expand Down
4 changes: 1 addition & 3 deletions components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
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://mercurial-fuschia-8f2.notion.site/7e827f42eecb46f382ac46cf183245d3');
window.open('https://hwajeonglee.notion.site/080d632659a94e1b9131567947f679a3');
};

const handlePrivacyPolicy = () => {
Expand Down
1 change: 0 additions & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ 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 {
Expand Down

0 comments on commit 0a94a6c

Please sign in to comment.