1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Clean up Removal section

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

View File

@ -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>
); );
} }
} }

View File

@ -10,9 +10,11 @@ export class Removal extends React.Component<Props> {
render() { render() {
const { cluster } = this.props; const { cluster } = this.props;
return <div> return (
<h2>Removal</h2> <div>
<RemoveClusterButton cluster={cluster} /> <h2>Removal</h2>
</div>; <RemoveClusterButton cluster={cluster} />
</div>
);
} }
} }