Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

Update ImageUpload.tsx

Ikko Eltociear Ashiminefad46574fdcb
diff --git a/frontend/src/components/ImageUpload.tsx b/frontend/src/components/ImageUpload.tsx
index 2f0b0594..4a46d99e 100644
--- a/frontend/src/components/ImageUpload.tsx
+++ b/frontend/src/components/ImageUpload.tsx
@@ -35,7 +35,7 @@ const rejectStyle = {
borderColor: "#ff1744",
};
-// TODO: Move to a seperate file
+// TODO: Move to a separate file
function fileToDataURL(file: File) {
return new Promise((resolve, reject) => {
const reader = new FileReader();