mirror of
https://github.com/apache/superset.git
synced 2026-04-22 17:45:21 +00:00
refactor(ExploreCtasResultsButton): convert to functional component (#17939)
* chore: fix misspelling of button * Feat: Update ExploreCtasResultsButton to functional component * Fix pull request * Fix index.tsx * Fix prettier issues and actions * Streamline the onClick so it calls visualize directly * Update MSP and MDP to arrow functions * Test destructured props * Fix props destructuring error * Simplify with optional chaining on line 94 and clean up buildVizOptions Co-authored-by: David Woolner <davidwoolner@gmail.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7194a01040
commit
51f716f573
@@ -729,7 +729,6 @@ export default class ResultSet extends React.PureComponent<
|
||||
table={tempTable}
|
||||
schema={tempSchema}
|
||||
dbId={exploreDBId}
|
||||
database={this.props.database}
|
||||
actions={this.props.actions}
|
||||
/>
|
||||
</ButtonGroup>
|
||||
|
||||
Reference in New Issue
Block a user