Clean up Removal section

Signed-off-by: alexfront <alex.andreev.email@gmail.com>
This commit is contained in:
alexfront committed 2020-08-05 17:27:54 +03:00
1 parent 78ab689a10
commit b6db412275
2 files changed
+4 -4

No files matched your search

@@ -30,11 +30,9 @@ export class RemoveClusterButton extends React.Component<Props> {
render() { render() {
return ( return (
<div className="flex gaps align-center">
<Button accent onClick={this.confirmRemoveCluster}> <Button accent onClick={this.confirmRemoveCluster}>
Remove Cluster Remove Cluster
</Button> </Button>
</div>
); );
} }
} }
@@ -10,9 +10,11 @@ export class Removal extends React.Component<Props> {
render() { render() {
const { cluster } = this.props; const { cluster } = this.props;
return <div> return (
<div>
<h2>Removal</h2> <h2>Removal</h2>
<RemoveClusterButton cluster={cluster} /> <RemoveClusterButton cluster={cluster} />
</div>; </div>
);
} }
} }