Skip to content

Commit

Permalink
fix: 데이터 숨기기 / 콘솔 오류 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
Emithen committed Feb 2, 2025
1 parent e39e1ac commit 4989d9d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Book/Application/DropBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const TeamDropBox: React.FC<DropBoxProps> = ({ onClick }) => {
</Container>
);
};
const ArrowButton = styled.button`
const ArrowButton = styled.div`
font-size: 10px;
color: #000;
background-color: transparent;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Book/Application/Reservation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const Reservation: React.FC<ReservationProps> = ({
<TimeContainer>
<TimeSlots>
{selectedSlots.map((slot, index) => (
<>
<div key={index}>
<div
className={css`
display: flex;
Expand Down Expand Up @@ -227,7 +227,7 @@ const Reservation: React.FC<ReservationProps> = ({
}
></SlotButton>
</div>
</>
</div>
))}
</TimeSlots>
</TimeContainer>
Expand Down
1 change: 0 additions & 1 deletion src/components/Book/CurrentBook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`,
Expand Down
1 change: 0 additions & 1 deletion src/contexts/AuthContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export const AuthProvider: React.FC<AuthProviderProps> = ({ children }) => {
setUser({ isLoggedIn: true });
return { success: true };
} catch (error) {
console.log(" 일단 에러 받았어~ ");
if (axios.isAxiosError(error)) {
console.error("login failed:", error.response?.data || error.message);

Expand Down

0 comments on commit 4989d9d

Please sign in to comment.