mirror of
https://github.com/desktop/desktop
synced 2024-10-31 05:19:03 +00:00
Dismiss "create new repo" dialog when clicking on "add this repo"
This commit is contained in:
parent
5ac10f76b5
commit
2a77af4565
1 changed files with 2 additions and 0 deletions
|
@ -581,6 +581,8 @@ export class CreateRepository extends React.Component<
|
|||
}
|
||||
|
||||
private onAddRepositoryClicked = () => {
|
||||
this.props.onDismissed()
|
||||
|
||||
const { path, name } = this.state
|
||||
|
||||
// Shouldn't be able to even get here if path is null.
|
||||
|
|
Loading…
Reference in a new issue