Skip to content

Commit ade866f

Browse files
Update packages/simpleserialize.com/src/components/Input.tsx
Co-authored-by: Matthew Keil <[email protected]>
1 parent eb8dee2 commit ade866f

File tree

1 file changed

+3
-1
lines changed
  • packages/simpleserialize.com/src/components

1 file changed

+3
-1
lines changed

packages/simpleserialize.com/src/components/Input.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,9 @@ class Input extends React.Component<Props, State> {
227227
reader.readAsArrayBuffer(file);
228228
}
229229
reader.onload = (e) => {
230-
if (e.target?.result && e.target !== null) processFileContents(e.target.result);
230+
if (e.target?.result && e.target !== null) {
231+
processFileContents(e.target.result);
232+
}
231233
};
232234
reader.onerror = (e: unknown) => {
233235
if (e instanceof Error) {

0 commit comments

Comments
 (0)