Fix spelling error for PlantRepository
This commit is contained in:
parent
2deb3faec0
commit
dd60ce03ee
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ import { Container } from 'reactstrap';
|
||||||
import Stepper from '../components/Stepper'
|
import Stepper from '../components/Stepper'
|
||||||
import Header from '../components/Header'
|
import Header from '../components/Header'
|
||||||
|
|
||||||
import PlantRepsostory from '../repository/PlantRepository'
|
import PlantRepository from '../repository/PlantRepository'
|
||||||
|
|
||||||
export default class MainPage extends React.Component {
|
export default class MainPage extends React.Component {
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ export default class MainPage extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
updatePlants() {
|
updatePlants() {
|
||||||
PlantRepsostory.getFilteredPlants(this.state.filters).then(response => {
|
PlantRepository.getFilteredPlants(this.state.filters).then(response => {
|
||||||
if (response.status === 200) {
|
if (response.status === 200) {
|
||||||
this.setState({ plants: response.data });
|
this.setState({ plants: response.data });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue