Skip to content

Commit

Permalink
🐛 fix: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
chaaerim committed Feb 15, 2024
1 parent a2e1c61 commit 03f87a6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/app/quiz/[quizId]/@detail/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use client';

import clsx from 'clsx';
import { useState } from 'react';

import {
QuizButton,
Expand All @@ -13,10 +14,9 @@ import {
} from '@/app/quiz/hooks/';
import { OX, QuizButtonType } from '@/app/quiz/models/quiz';
import { Text, bgColor } from '@/common';
import { Modal } from '@/common/components/Modal';

import { Comments } from '../../components/Comment/Comments';
import { Modal } from '@/common/components/Modal';
import { useState } from 'react';

type Props = {
params: {
Expand Down
2 changes: 1 addition & 1 deletion src/app/quiz/components/QuizButton/Thumbnail.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
'use client';

import Image from 'next/image';
import { HTMLAttributes } from 'react';

import { ICON_URL, bgColor, cn } from '@/common';

import { QuizButtonProps } from './type';
import { HTMLAttributes } from 'react';

interface ThumbnailProps
extends Pick<QuizButtonProps, 'OXType' | 'imageUrl' | 'className'>,
Expand Down
4 changes: 2 additions & 2 deletions src/app/quiz/components/QuizButton/index.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
'use client';

import clsx from 'clsx';
import { useState } from 'react';

import { Text, bgColor } from '@/common';
import { Modal } from '@/common/components/Modal';

import { ProgressBar } from './ProgressBar';
import { Thumbnail } from './Thumbnail';
import { QuizButtonProps } from './type';
import { useState } from 'react';
import { Modal } from '@/common/components/Modal';

export { Thumbnail };
export function QuizButton({
Expand Down
5 changes: 3 additions & 2 deletions src/common/components/Modal/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
'use client';

import Image from 'next/image';
import { PropsWithChildren, ReactNode } from 'react';

import { ICON_URL } from '@/common';
import { cn } from '@/common/utils';

import { GlobalPortal } from '../GlobalPortal';
import { PropsWithChildren, ReactNode } from 'react';
import { ICON_URL } from '@/common';

type ModalProp = {
isShow: boolean;
Expand Down

0 comments on commit 03f87a6

Please sign in to comment.