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 af7be54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 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,7 @@ 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 af7be54

Please sign in to comment.