refactor: migrate ExploreCtasResultsButton component to typescript (#18142)

* Move component to FC & tsx

* Refactoring

* Refactoring

* Refactoring

* Refactoring

* Refactoring

* Refactoring

* Refactoring

* Fix type issue

* Fix type issue

* Fix ResultSet type issue

* Refactoring RootState
This commit is contained in:
EugeneTorap
2022-02-17 23:54:36 +03:00
committed by GitHub
parent 5d2e726f76
commit 8dc2377680
3 changed files with 25 additions and 33 deletions

View File

@@ -726,10 +726,10 @@ export default class ResultSet extends React.PureComponent<
</Button>
<ExploreCtasResultsButton
// @ts-ignore Redux types are difficult to work with, ignoring for now
actions={this.props.actions}
table={tempTable}
schema={tempSchema}
dbId={exploreDBId}
actions={this.props.actions}
/>
</ButtonGroup>
</>