File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export default function FileDropzone({
5656 const file = fileList . item ( 0 ) ;
5757 if ( ! file ) return ;
5858
59- if ( typeof onFileSelected != 'function' ) return ;
59+ if ( typeof onFileSelected !== 'function' ) return ;
6060 onFileSelected ( file ) ;
6161
6262 if ( inputRef . current ) inputRef . current . value = '' ; // 같은 파일 다시 선택 가능하게 (선택창 value 초기화)
@@ -101,7 +101,7 @@ export default function FileDropzone({
101101 const file = e . dataTransfer . files ?. item ( 0 ) ;
102102 if ( ! file ) return ;
103103
104- if ( typeof onFileSelected != 'function' ) return ;
104+ if ( typeof onFileSelected !== 'function' ) return ;
105105 onFileSelected ( file ) ;
106106 } ;
107107
@@ -126,7 +126,7 @@ export default function FileDropzone({
126126 } ;
127127
128128 return (
129- < div className = "w-full mt-10" >
129+ < div className = "mt-10 w-full " >
130130 < input
131131 ref = { inputRef }
132132 type = "file"
@@ -160,7 +160,7 @@ export default function FileDropzone({
160160 shouldBlurBase && 'blur-sm opacity-40' ,
161161 ) }
162162 >
163- < div className = "flex h-12 w-12 items-center justify-center rounded-full bg-gray-800 not-visited: transition group-hover:bg-gray-900" >
163+ < div className = "flex h-12 w-12 items-center justify-center rounded-full bg-gray-800 transition group-hover:bg-gray-900" >
164164 < UploadIcon className = "h-5 w-5 text-white" />
165165 </ div >
166166 < div className = "space-y-2 text-center" >
You can’t perform that action at this time.
0 commit comments