-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix: Release 1.0.0 deploy error 해결 (#44)
* fix: 변경된 s3 url 적용 * fix: useShowLoginModal prop undefined 에러 임시 조치 * feat: useModal Dimmer 반응형 적용 * fix: useQuestionAnswer hook api import 에러 해결 * fix: useModal import warning 해결 * feat: title ,description seo 추가 * fix: page api 캐싱으로 인해 이전 질문이 잠시 보이는 문제 해결
- Loading branch information
Showing
8 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { useQuery } from '@tanstack/react-query'; | ||
|
||
import { getQuestionAnswer } from '~/apis'; | ||
import { getQuestionAnswerDeprecated } from '~/apis'; | ||
import { QUESTION_ANSWER_QUERY_KEYS } from '~/constants/queryKeys'; | ||
|
||
export const useQuestionAnswerQuery = (questionId?: number) => { | ||
const questionAnswerQuery = useQuery({ | ||
queryKey: QUESTION_ANSWER_QUERY_KEYS.getQuestionAnswer(questionId), | ||
queryFn: () => getQuestionAnswer(questionId), | ||
queryFn: () => getQuestionAnswerDeprecated(questionId), | ||
}); | ||
return questionAnswerQuery; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters