Skip to content

Commit

Permalink
Pass a function that doesn't return anything to FileUpload component
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
  • Loading branch information
rubenvp8510 committed Nov 5, 2020
1 parent 00abad4 commit 86e7b54
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/jaeger-ui/src/components/SearchTracePage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ export class SearchTracePageImpl extends Component {
{!loadingServices && services ? <SearchForm services={services} /> : <LoadingIndicator />}
</TabPane>
<TabPane tab="JSON File" key="fileLoader">
<FileLoader loadJsonTraces={loadJsonTraces} />
<FileLoader
loadJsonTraces={(fileList: FileList) => {
loadJsonTraces(fileList);
}}
/>
</TabPane>
</Tabs>
</div>
Expand Down

0 comments on commit 86e7b54

Please sign in to comment.