Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 빌드 에러 수정 #126

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/login/redirect/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@

import { useEffect } from "react";
import { useSearchParams, useRouter } from "next/navigation";
import { usePostAuthorizationCode } from "@/queries";
import { useAuthUserStorage } from "@/hooks";
import { usePostAuthorizationCode } from "@/queries";

export default function LoginRedirectPage() {
const router = useRouter();
const searchParams = useSearchParams();
// eslint-disable-next-line @typescript-eslint/naming-convention
const [_, setAuthUserInfo] = useAuthUserStorage();

const { mutate: postAuthorizationCode } = usePostAuthorizationCode({
onSuccess: (data) => {
const {
// eslint-disable-next-line @typescript-eslint/naming-convention
results: { token, user_id },
} = data;
setAuthUserInfo({ token, id: user_id });
Expand Down
34 changes: 19 additions & 15 deletions components/domains/detail/reservation/ReservationNotice.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
import styled from 'styled-components';
import styled from "styled-components";

export default function ReservationNotice() {
return <Notice>예매자는 본 안내페이지의 모든 내용을 숙지 및 동의한 것으로 간주합니다.{" "}
<br />
<br />- 관람 연령/티켓수령/공연관람 안내 미숙지로 인한 책임은 관람자
본인에게 있으며,
<br /> 관련 사유로 예매 티켓의 취소/변경/환불은 일체 불가하오니 각별히
유의하시기 바랍니다.
<br />
<br /> - 모든 할인은 실 관람자 기준으로 적용되며, 관람회차의 티켓 수령
시 반드시 할인 대상 본인이 <br /> 매표소에 방문하여 증빙자료를 제시해 주셔야
합니다.
<br />
<br /> *Play NEWniverse는 작품 유통 외의 작품 제작과 관련에는 책임이
없음을 알립니다.</Notice>
return (
<Notice>
예매자는 본 안내페이지의 모든 내용을 숙지 및 동의한 것으로 간주합니다.{" "}
<br />
<br />- 관람 연령/티켓수령/공연관람 안내 미숙지로 인한 책임은 관람자
본인에게 있으며,
<br /> 관련 사유로 예매 티켓의 취소/변경/환불은 일체 불가하오니 각별히
유의하시기 바랍니다.
<br />
<br /> - 모든 할인은 실 관람자 기준으로 적용되며, 관람회차의 티켓 수령 시
반드시 할인 대상 본인이 <br /> 매표소에 방문하여 증빙자료를 제시해 주셔야
합니다.
<br />
<br /> *Play NEWniverse는 작품 유통 외의 작품 제작과 관련에는 책임이
없음을 알립니다.
</Notice>
);
}

const Notice = styled.p`
text-align: left;
`
`;
2 changes: 1 addition & 1 deletion components/domains/detail/tab/type.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Info from "@/components/domains/detail/tab/InfoTab";
import Location from "@/components/domains/detail/tab/LocationTab";
import ReserveAndCancel from "@/components/domains/detail/tab/ReserveAndCancelTab";
import Review from "@/components/domains/detail/tab/review/ReviewTab"
import Review from "@/components/domains/detail/tab/review/ReviewTab";

export enum DetailTabEnum {
INFO = "Info",
Expand Down
Loading