diff --git a/frontend/src/pages/my-libs/mylib-repo-list-item.js b/frontend/src/pages/my-libs/mylib-repo-list-item.js index 872aaa9155..6814b63eca 100644 --- a/frontend/src/pages/my-libs/mylib-repo-list-item.js +++ b/frontend/src/pages/my-libs/mylib-repo-list-item.js @@ -165,11 +165,13 @@ class MylibRepoListItem extends React.Component { } } - onShareToggle = () => { + onShareToggle = (e) => { + e.preventDefault(); this.setState({isShareDialogShow: !this.state.isShareDialogShow}); } - onDeleteToggle = () => { + onDeleteToggle = (e) => { + e.preventDefault(); this.setState({isDeleteDialogShow: !this.state.isDeleteDialogShow}); } @@ -310,8 +312,8 @@ class MylibRepoListItem extends React.Component {