File tree Expand file tree Collapse file tree 4 files changed +2
-6
lines changed Expand file tree Collapse file tree 4 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -6,5 +6,3 @@ const client = createClient<paths>({
66} ) ;
77
88const { data, response } = await client . GET ( '/users' ) ;
9-
10- console . log ( data , 'data' ) ;
Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ export async function PUT(request: NextRequest) {
7878export async function DELETE ( request : NextRequest ) {
7979 const refreshToken = cookies ( ) . get ( 'rtk' ) ?. value ;
8080 const accessToken = cookies ( ) . get ( 'atk' ) ?. value ;
81- console . log ( accessToken , '어 뜨잖아?' ) ;
8281
8382 if ( ! refreshToken ) {
8483 return NextResponse . json ( { error : 'Not authenticated' } , { status : 401 } ) ;
Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ export const QuizResultBarChart: React.FC<QuizResultBarChartProps> = ({ chartDat
7070 }
7171 } , [ onObserve ] ) ;
7272
73- console . log ( chartData ) ;
7473 return (
7574 < div className = "flex h-80 w-full" >
7675 < div
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ interface QuizSwiperProps {
1515const QuizSwiper : FC < QuizSwiperProps > = ( { count } ) => {
1616 const quizListService = QuizListService . getInstance ( ) ;
1717 const { replace } = useRouter ( ) ;
18- const { get } = useSearchParams ( ) ;
19- const difficulty = get ( 'difficulty' ) as QuizTestLevel ;
18+ const searchParams = useSearchParams ( ) ;
19+ const difficulty = searchParams . get ( 'difficulty' ) as QuizTestLevel ;
2020
2121 const quizList = getRandomQuizList ( { difficulty } ) ;
2222
You can’t perform that action at this time.
0 commit comments