wvi-test-ui-components
Advanced tools
Comparing version
{ | ||
"name": "wvi-test-ui-components", | ||
"version": "0.0.149981107", | ||
"version": "0.0.149981108", | ||
"description": "React component library for WVI", | ||
@@ -5,0 +5,0 @@ "main": "src/dist/ui.js", |
@@ -24,3 +24,7 @@ import React from 'react'; | ||
}); | ||
e.fileContent = reader.result; | ||
} | ||
if (file !== undefined) { | ||
reader.readAsDataURL(file); | ||
// Attach the file and its contents to the event. | ||
@@ -32,10 +36,3 @@ e.file = file; | ||
this.props.handleChange(e); | ||
} | ||
if (file !== undefined) { | ||
reader.readAsDataURL(file); | ||
} | ||
} | ||
@@ -42,0 +39,0 @@ |
Sorry, the diff of this file is too big to display
6062657
05820
-0.02%