Refator: 불필요한 cn 제거

This commit is contained in:
정현조 2024-08-28 10:39:14 +09:00
parent 198042108e
commit d04ea9d4d7

View File

@ -1,6 +1,4 @@
import * as React from 'react';
import { useState } from 'react'; import { useState } from 'react';
import { cn } from '@/lib/utils';
import CloseButton from './CloseButton'; import CloseButton from './CloseButton';
import Button from './Button'; import Button from './Button';
import FileList from './FileList'; import FileList from './FileList';
@ -78,9 +76,7 @@ export default function ImageUploadModal({ title, buttonText, onClose }: ImageUp
<div className="flex flex-col gap-5"> <div className="flex flex-col gap-5">
<div className="flex justify-center"> <div className="flex justify-center">
<div <div
className={cn( className="relative flex h-44 w-full max-w-[570px] cursor-pointer items-center justify-center rounded-lg border-2 border-dashed border-primary bg-gray-100 p-5 text-center"
'relative flex h-44 w-full max-w-[570px] cursor-pointer items-center justify-center rounded-lg border-2 border-dashed border-primary bg-gray-100 p-5 text-center'
)}
onDrop={handleDrop} onDrop={handleDrop}
onDragOver={handleDragOver} onDragOver={handleDragOver}
> >