diff --git a/csv-column-read2dom/app/components/input.jsx b/csv-column-read2dom/app/components/input.jsx deleted file mode 100644 index a858848..0000000 --- a/csv-column-read2dom/app/components/input.jsx +++ /dev/null @@ -1,27 +0,0 @@ -import React from 'react'; - -const Input = () => { - const handleChange = (e) => { - const reader = new FileReader(); - reader.onload = () => { - // @ts-ignore - document.getElementById('out').innerHTML = reader.result; - }; - // start reading the file. When it is done, calls the onload event defined above. - // @ts-ignore - reader.readAsBinaryString(document.getElementById('csv-input').files[0]); - }; - return ( - <> -

Input

- -

File contents will appear here

- - ); -}; -export default Input;