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

feat: 내 예약 목록에서 예약 수정, 삭제 하기 #884

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

SunYoungKwon
Copy link
Collaborator

구현 기능

  • 내 예약 조회
  • 내 예약 삭제
  • 내 예약 수정
  • 내 지난 예약 조회

image

논의하고 싶은 내용

  • infiniteQuery 타입지정이 너무 어렵습니다...

Close #881

import { useInfiniteQuery } from 'react-query';
import { queryMemberReservationHistory } from './../../api/guestReservation';

const useMemberReservationHistory = () => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return 타입 없다고 노란줄 뜨는데, 타입지정을 못하겠어요...넘 너려움ㅠ

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사실 추론이 잘 되기때문에 꼭 필요한가..? 싶은 의문도 있습니다.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 커스텀 훅이나 컴포넌트에 대해서는 명시적인 타입 선언이 필요한가? 하는 생각이 들어요. 나중에 ESLint rule을 수정하는 방향으로 가면 좋을 것 같아요.

@SunYoungKwon SunYoungKwon requested review from Puterism and yujo11 and removed request for Puterism January 25, 2023 17:16
@yujo11
Copy link
Collaborator

yujo11 commented Jan 25, 2023

UI가 넘나리 이쁘네요 고생 많았썬 👍 👍 👍

내일 sharingMapId 추가되면 다시 리뷰하러 올게용

Copy link
Collaborator

@Puterism Puterism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고 많으셨습니다!

import { useInfiniteQuery } from 'react-query';
import { queryMemberReservationHistory } from './../../api/guestReservation';

const useMemberReservationHistory = () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 커스텀 훅이나 컴포넌트에 대해서는 명시적인 타입 선언이 필요한가? 하는 생각이 들어요. 나중에 ESLint rule을 수정하는 방향으로 가면 좋을 것 같아요.

@yujo11 yujo11 merged commit 9dde89a into dev Jan 27, 2023
@yujo11 yujo11 deleted the feat/881-guest branch January 27, 2023 09:17
@xrabcde xrabcde mentioned this pull request Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FE] 로그인한 유저의 메인페이지
3 participants