Skip to content
This repository was archived by the owner on Jun 10, 2019. It is now read-only.

Commit 0e732fa

Browse files
committed
Add a working search function to the stateApproved seciton
1 parent 2a16168 commit 0e732fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scenes/home/codeSchools/stateSortedSchools/stateSortedSchools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class StateSortedSchools extends Component {
4343
schools.push(newSchool);
4444
}
4545
});
46-
this.setState({ schoolsByState: schools });
46+
return schools;
4747
}
4848

4949
render() {

0 commit comments

Comments
 (0)