Skip to content

Commit

Permalink
🐞 BugFix(#79): PartStatus νƒ€μž… 경둜 μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetree7878 committed Jan 2, 2025
1 parent 7d34a31 commit cde1de6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/features/quiz/service/quizUtils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PartStatus } from '@/features/quiz/types';
import { PartStatus } from '@features/learn/types';

/**
* μ½”λ“œ λ¬Έμžμ—΄μ˜ 각 쀄에 쀄 번호λ₯Ό μΆ”κ°€ν•©λ‹ˆλ‹€.
Expand Down
3 changes: 2 additions & 1 deletion src/features/quiz/ui/Result.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { AnswerDiv, NextPageButton, ScoreSection } from './styles';
import { progressQuery } from '@features/user/queries';
import { useClientQuizStore } from '@store/useClientQuizStore';
import useUserStore from '@store/useUserStore';
import type { PartStatus, Quiz } from '@features/quiz/types';
import type { PartStatus } from '@features/learn/types';
import type { Quiz } from '@features/quiz/types';
import { isLoggedIn } from '@features/user/service/authUtils';
import { isCompleted } from '@features/quiz/service/quizUtils';

Expand Down
3 changes: 2 additions & 1 deletion src/features/user/apis.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import api from '@/axios/instance';
import type { User, ExperiencedUser } from '@features/user/types';
import type { PartStatus, Quiz } from '@features/quiz/types';
import type { PartStatus } from '@features/learn/types';
import type { Quiz } from '@features/quiz/types';

const usersApis = {
putQuizzesProgress: ({
Expand Down
3 changes: 2 additions & 1 deletion src/pages/quiz/Quiz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ import TotalResults from '@features/user/ui/TotalResults';
import PartClear from '@features/user/ui/PartClear';
import componentMapping from '@utils/componentMap';
import isEqualArray from '@utils/isEqualArray';
import type { PartStatus, Quiz } from '@features/quiz/types';
import type { PartStatus } from '@features/learn/types';
import type { Quiz } from '@features/quiz/types';
import { PRELOAD_IMAGES } from '@features/quiz/constants';
import { isLoggedIn } from '@/features/user/service/authUtils';

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.app.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"root":["./src/app.tsx","./src/modalportal.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/axios/instance.ts","./src/axios/interceptor.ts","./src/axios/statuscode.ts","./src/common/layout/cokologo.tsx","./src/common/layout/header.tsx","./src/common/layout/menubar.tsx","./src/common/layout/modal.tsx","./src/common/layout/style.ts","./src/common/ui/headeritem.tsx","./src/common/ui/menuitem.tsx","./src/common/ui/style.ts","./src/features/auth/apis.ts","./src/features/auth/queries.ts","./src/features/auth/service/handlelogin.ts","./src/features/auth/service/handlelogout.ts","./src/features/auth/ui/login.tsx","./src/features/auth/ui/loginprompt.tsx","./src/features/auth/ui/styles.ts","./src/features/learn/apis.ts","./src/features/learn/queries.ts","./src/features/learn/types.ts","./src/features/learn/service/getpartgridposition.ts","./src/features/learn/ui/keycapadventureintro.tsx","./src/features/learn/ui/sectionarrowbutton.tsx","./src/features/learn/ui/sectionnavigatecontainer.tsx","./src/features/learn/ui/selectsection.tsx","./src/features/learn/ui/style.ts","./src/features/progress/style.ts","./src/features/progress/ui/progressbar.tsx","./src/features/quest/style.ts","./src/features/quest/ui/dailyquest.tsx","./src/features/quest/ui/mainquset.tsx","./src/features/quiz/apis.ts","./src/features/quiz/queries.ts","./src/features/quiz/types.ts","./src/features/quiz/service/addlinenumberstocode.ts","./src/features/quiz/service/replaceemptywithhtmlelement.ts","./src/features/quiz/service/usecodehighlight.ts","./src/features/quiz/ui/combination.tsx","./src/features/quiz/ui/multiplechoice.tsx","./src/features/quiz/ui/oxselector.tsx","./src/features/quiz/ui/partclear.tsx","./src/features/quiz/ui/partnavcontainer.tsx","./src/features/quiz/ui/question.tsx","./src/features/quiz/ui/quizsection.tsx","./src/features/quiz/ui/result.tsx","./src/features/quiz/ui/shortanswer.tsx","./src/features/quiz/ui/textblock.tsx","./src/features/quiz/ui/totalresults.tsx","./src/features/quiz/ui/styles.ts","./src/features/ranking/constant.ts","./src/features/ranking/ui/myrank.tsx","./src/features/ranking/ui/rankingcontainer.tsx","./src/features/ranking/ui/sortdropdown.tsx","./src/features/ranking/ui/styles.ts","./src/features/store/types.ts","./src/features/store/ui/cartlist.tsx","./src/features/store/ui/itemcontainer.tsx","./src/features/store/ui/storeitem.tsx","./src/features/store/ui/styles.ts","./src/features/user/apis.ts","./src/features/user/queries.ts","./src/features/user/types.ts","./src/features/user/ui/badgecontainer.tsx","./src/features/user/ui/mycharacter.tsx","./src/features/user/ui/profileimage.tsx","./src/features/user/ui/styles.ts","./src/hooks/usebeforeunload.ts","./src/hooks/usefunnel.tsx","./src/hooks/usemodal.ts","./src/hooks/useoutsideclick.ts","./src/hooks/usepopover.ts","./src/hooks/usepreloadimages.ts","./src/hooks/usescrollvisibility.ts","./src/pages/learn/learn.tsx","./src/pages/learn/style.ts","./src/pages/profile/profile.tsx","./src/pages/profile/styles.ts","./src/pages/quest/quest.tsx","./src/pages/quiz/quiz.tsx","./src/pages/quiz/styles.ts","./src/pages/ranking/ranking.tsx","./src/pages/ranking/styles.ts","./src/pages/store/store.tsx","./src/pages/store/styles.ts","./src/route/router.tsx","./src/store/useclientquizstore.ts","./src/store/usedndstore.ts","./src/store/useuserstore.ts","./src/style/globalstyle.ts","./src/style/layout.ts","./src/style/media.ts","./src/style/style.ts","./src/types/layout.ts","./src/utils/compact.ts","./src/utils/componentmap.tsx","./src/utils/cookies.ts","./src/utils/getimageurl.ts","./src/utils/handlepage.ts","./src/utils/isequalarray.ts","./src/utils/isloggedin.ts"],"errors":true,"version":"5.6.2"}
{"root":["./src/app.tsx","./src/modalportal.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/axios/instance.ts","./src/axios/interceptor.ts","./src/axios/statuscode.ts","./src/common/layout/cokologo.tsx","./src/common/layout/header.tsx","./src/common/layout/menubar.tsx","./src/common/layout/modal.tsx","./src/common/layout/style.ts","./src/common/ui/headeritem.tsx","./src/common/ui/menuitem.tsx","./src/common/ui/style.ts","./src/features/auth/apis.ts","./src/features/auth/queries.ts","./src/features/auth/service/handlelogin.ts","./src/features/auth/service/handlelogout.ts","./src/features/auth/ui/login.tsx","./src/features/auth/ui/loginprompt.tsx","./src/features/auth/ui/styles.ts","./src/features/learn/apis.ts","./src/features/learn/constants.ts","./src/features/learn/queries.ts","./src/features/learn/types.ts","./src/features/learn/service/getpartgridposition.ts","./src/features/learn/ui/keycapadventureintro.tsx","./src/features/learn/ui/navigationcontrol.tsx","./src/features/learn/ui/sectionnavigatecontainer.tsx","./src/features/learn/ui/selectsection.tsx","./src/features/learn/ui/styles.ts","./src/features/progress/style.ts","./src/features/progress/ui/progressbar.tsx","./src/features/quest/types.ts","./src/features/quest/ui/dailyquest.tsx","./src/features/quest/ui/mainquest.tsx","./src/features/quest/ui/questsection.tsx","./src/features/quest/ui/styles.ts","./src/features/quiz/apis.ts","./src/features/quiz/constants.ts","./src/features/quiz/queries.ts","./src/features/quiz/types.ts","./src/features/quiz/service/hooks.ts","./src/features/quiz/service/quizutils.ts","./src/features/quiz/ui/combination.tsx","./src/features/quiz/ui/multiplechoice.tsx","./src/features/quiz/ui/oxselector.tsx","./src/features/quiz/ui/partnavcontainer.tsx","./src/features/quiz/ui/question.tsx","./src/features/quiz/ui/quizsection.tsx","./src/features/quiz/ui/result.tsx","./src/features/quiz/ui/shortanswer.tsx","./src/features/quiz/ui/textblock.tsx","./src/features/quiz/ui/styles.ts","./src/features/ranking/constant.ts","./src/features/ranking/ui/myrank.tsx","./src/features/ranking/ui/rankingcontainer.tsx","./src/features/ranking/ui/sortdropdown.tsx","./src/features/ranking/ui/styles.ts","./src/features/store/types.ts","./src/features/store/ui/cartlist.tsx","./src/features/store/ui/itemcontainer.tsx","./src/features/store/ui/storeitem.tsx","./src/features/store/ui/styles.ts","./src/features/user/apis.ts","./src/features/user/constants.ts","./src/features/user/queries.ts","./src/features/user/types.ts","./src/features/user/service/authutils.ts","./src/features/user/ui/badgecontainer.tsx","./src/features/user/ui/mycharacter.tsx","./src/features/user/ui/partclear.tsx","./src/features/user/ui/profileimage.tsx","./src/features/user/ui/totalresults.tsx","./src/features/user/ui/styles.ts","./src/hooks/usebeforeunload.ts","./src/hooks/usefunnel.tsx","./src/hooks/usemodal.ts","./src/hooks/useoutsideclick.ts","./src/hooks/usepopover.ts","./src/hooks/usepreloadimages.ts","./src/hooks/usescrollvisibility.ts","./src/pages/learn/learn.tsx","./src/pages/learn/style.ts","./src/pages/profile/profile.tsx","./src/pages/profile/styles.ts","./src/pages/quest/quest.tsx","./src/pages/quest/styles.ts","./src/pages/quiz/quiz.tsx","./src/pages/quiz/styles.ts","./src/pages/ranking/ranking.tsx","./src/pages/ranking/styles.ts","./src/pages/store/store.tsx","./src/pages/store/styles.ts","./src/route/router.tsx","./src/store/useclientquizstore.ts","./src/store/usedndstore.ts","./src/store/useuserstore.ts","./src/style/globalstyle.ts","./src/style/layout.ts","./src/style/media.ts","./src/style/style.ts","./src/types/layout.ts","./src/utils/compact.ts","./src/utils/componentmap.tsx","./src/utils/getimageurl.ts","./src/utils/handlepage.ts","./src/utils/isequalarray.ts"],"version":"5.6.2"}

0 comments on commit cde1de6

Please sign in to comment.