mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01:00
refactor: removes duplication
This commit is contained in:
parent
5673837771
commit
11166c0e23
@ -35,11 +35,9 @@ class Install extends Component<any, any> {
|
||||
|
||||
renderDownloadButton = () => {
|
||||
return (
|
||||
<CardActions>
|
||||
<Button color={"primary"} size={'small'} variant={"contained"}>
|
||||
{'Download Tarball'}
|
||||
</Button>
|
||||
</CardActions>
|
||||
<Button color={"primary"} size={'small'} variant={"contained"}>
|
||||
{'Download Tarball'}
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user