Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class CodeImportProject extends React.PureComponent<

public submitImportProject = () => {
this.props.importRepo(this.state.value);
this.setState({ value: '' });
};

public render() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ class CodeProjectTab extends React.PureComponent<Props, State> {

public submitImportProject = () => {
this.props.importRepo(this.state.repoURL);
this.setState({ repoURL: '' });
};

public renderImportModal = () => {
Expand Down