diff --git a/src/App.jsx b/src/App.jsx index 336a2be..2866cbe 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,4 +1,4 @@ -import { useEffect, useState } from 'react'; +import { useEffect } from 'react'; import './App.css' import Canvas from './components/Canvas' import WebFont from 'webfontloader'; diff --git a/src/components/EachComponent/UploadImage.jsx b/src/components/EachComponent/UploadImage.jsx index 34b4380..a4c84c3 100644 --- a/src/components/EachComponent/UploadImage.jsx +++ b/src/components/EachComponent/UploadImage.jsx @@ -203,69 +203,74 @@ const UploadImage = () => { {/* upload image */} -
- {isDragActive - ? 'Drop file here' - : 'Drag \'n\' drop an image, or click to select a file' - } -
-- (Max 5MB, image files only) -
-+ {isDragActive + ? 'Drop file here' + : 'Drag \'n\' drop an image, or click to select a file' + } +
++ (Max 5MB, image files only) +
{file?.name}
+ +