Removed test upload component

This commit is contained in:
Alex Holliday committed 2024-07-05 14:41:27 -07:00
1 parent 4e1f0095a7
commit 30c9c1d0a3
1 file changed
-17
-17
View File
@@ -1,17 +0,0 @@
import { useState } from "react";
const TestUpload = () => {
const [file, setFile] = useState();
function handleChange(e) {
setFile(URL.createObjectURL(e.target.files[0]));
}
return (
<div>
<input type="file" onChange={handleChange} />
<img src={file} />
</div>
);
};
export default TestUpload;