(input: HTMLInputElement)
| 163 | const reader = new FileReader(); |
| 164 | reader.onload = () => importJSONData(reader.result as string); |
| 165 | const onCreateFileInput = (input: HTMLInputElement) => { |
| 166 | if (!input) return; |
| 167 | |
| 168 | input.onchange = () => { |
| 169 | if (input?.files) reader.readAsText(input.files[0]); |
| 170 | }; |
| 171 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected