mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
refactor: removes duplication
This commit is contained in:
parent
5673837771
commit
11166c0e23
1 changed files with 3 additions and 5 deletions
|
@ -35,11 +35,9 @@ class Install extends Component<any, any> {
|
||||||
|
|
||||||
renderDownloadButton = () => {
|
renderDownloadButton = () => {
|
||||||
return (
|
return (
|
||||||
<CardActions>
|
|
||||||
<Button color={"primary"} size={'small'} variant={"contained"}>
|
<Button color={"primary"} size={'small'} variant={"contained"}>
|
||||||
{'Download Tarball'}
|
{'Download Tarball'}
|
||||||
</Button>
|
</Button>
|
||||||
</CardActions>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue