Skip to content

Commit

Permalink
chore: directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rabyeoljji committed Dec 21, 2024
1 parent a74fa81 commit 3a9fdfd
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { useCreateDocument } from '@/requests/document/hooks'
import TitleInput from '@/features/write/components/title-input'
import { useRouter } from 'next/navigation'
import AiCreatingQuiz from '@/features/quiz/screen/ai-creating-quiz'
import CreateQuizError from '@/features/quiz/screen/create-quiz-error.tsx'
import CreateQuizError from '@/features/quiz/screen/create-quiz-error'

const CreateWithFile = () => {
const router = useRouter()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
'use client'

import Icon from '@/shared/components/custom/icon'
import EmptyBombList from '../components/empty-bomb-list'
import BombQuiz from '../components/bomb-quiz'
import BombAnimation from '../components/bomb-animation'
import { useState } from 'react'
import WrongAnswerDialog from '../components/wrong-answer-dialog'
import { getAnswerText } from '../utils'
import { cn } from '@/shared/lib/utils'
import Loading from '@/shared/components/custom/loading'
import { useBombQuiz } from './quiz-view/hooks/use-bomb-quiz'
import { useBombQuiz } from '../quiz-view/hooks/use-bomb-quiz'
import EmptyBombList from '../../components/empty-bomb-list'
import BombQuiz from '../../components/bomb-quiz'
import BombAnimation from '../../components/bomb-animation'
import WrongAnswerDialog from '../../components/wrong-answer-dialog'
import { getAnswerText } from '../../utils'

const BombQuizView = () => {
const [key] = useState(new Date())
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
'use client'

import { useState } from 'react'
import QuizView from './quiz-view'
import QuizIntro from './intro'
import QuizIntro from '../intro'
import QuizView from '../quiz-view'
// import QuizView from './quiz-view'
// import QuizIntro from './intro'

interface Props {
quizSetType: Quiz.Set.Type
Expand Down
2 changes: 1 addition & 1 deletion src/features/write/pages/write-document-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { useDirectoryContext } from '@/features/directory/contexts/directory-con
import CreateQuizDrawer from '../components/create-quiz-drawer'
import AiCreatingQuiz from '@/features/quiz/screen/ai-creating-quiz'
import { useRouter } from 'next/navigation'
import CreateQuizError from '@/features/quiz/screen/create-quiz-error.tsx'
import CreateQuizError from '@/features/quiz/screen/create-quiz-error'
import { calculateAvailableQuizCount } from '@/features/document/utils'

const Editor = dynamic(() => import('../components/editor'), {
Expand Down
8 changes: 7 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"src/features/quiz/screen/create-quiz-error"
],
"exclude": ["node_modules"]
}

0 comments on commit 3a9fdfd

Please sign in to comment.