From 4989d9d529b5d421f339b5706e01644a3bad2674 Mon Sep 17 00:00:00 2001 From: Emithen <86219540+Emithen@users.noreply.github.com> Date: Sun, 2 Feb 2025 19:28:16 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20=EC=88=A8?= =?UTF-8?q?=EA=B8=B0=EA=B8=B0=20/=20=EC=BD=98=EC=86=94=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Book/Application/DropBox.tsx | 2 +- src/components/Book/Application/Reservation.tsx | 4 ++-- src/components/Book/CurrentBook.tsx | 1 - src/contexts/AuthContext.tsx | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/Book/Application/DropBox.tsx b/src/components/Book/Application/DropBox.tsx index 0ce2bf8..bd9b49a 100644 --- a/src/components/Book/Application/DropBox.tsx +++ b/src/components/Book/Application/DropBox.tsx @@ -120,7 +120,7 @@ const TeamDropBox: React.FC = ({ onClick }) => { ); }; -const ArrowButton = styled.button` +const ArrowButton = styled.div` font-size: 10px; color: #000; background-color: transparent; diff --git a/src/components/Book/Application/Reservation.tsx b/src/components/Book/Application/Reservation.tsx index eab9f04..76bcefd 100644 --- a/src/components/Book/Application/Reservation.tsx +++ b/src/components/Book/Application/Reservation.tsx @@ -196,7 +196,7 @@ const Reservation: React.FC = ({ {selectedSlots.map((slot, index) => ( - <> +
= ({ } >
- +
))}
diff --git a/src/components/Book/CurrentBook.tsx b/src/components/Book/CurrentBook.tsx index 95c401b..50eda42 100644 --- a/src/components/Book/CurrentBook.tsx +++ b/src/components/Book/CurrentBook.tsx @@ -65,7 +65,6 @@ const CurrentBook: React.FC = () => { async function fetchData() { const token = localStorage.getItem("accessToken"); - console.log(`Token: ${token}`); try { const response = await axiosInstance.get( `/reservation/list?month=${formatDate(date)}`, diff --git a/src/contexts/AuthContext.tsx b/src/contexts/AuthContext.tsx index c2dcbfe..3acaf89 100644 --- a/src/contexts/AuthContext.tsx +++ b/src/contexts/AuthContext.tsx @@ -51,7 +51,6 @@ export const AuthProvider: React.FC = ({ children }) => { setUser({ isLoggedIn: true }); return { success: true }; } catch (error) { - console.log(" 일단 에러 받았어~ "); if (axios.isAxiosError(error)) { console.error("login failed:", error.response?.data || error.message);