Fix spelling error for PlantRepository

This commit is contained in:
Dana Lambert 2021-10-20 15:03:25 +13:00
parent 2deb3faec0
commit dd60ce03ee

View file

@ -3,7 +3,7 @@ import { Container } from 'reactstrap';
import Stepper from '../components/Stepper'
import Header from '../components/Header'
import PlantRepsostory from '../repository/PlantRepository'
import PlantRepository from '../repository/PlantRepository'
export default class MainPage extends React.Component {
@ -19,7 +19,7 @@ export default class MainPage extends React.Component {
}
updatePlants() {
PlantRepsostory.getFilteredPlants(this.state.filters).then(response => {
PlantRepository.getFilteredPlants(this.state.filters).then(response => {
if (response.status === 200) {
this.setState({ plants: response.data });
}