diff --git a/frontend/src/pages/MainPage.js b/frontend/src/pages/MainPage.js index 98897ce..a39ce39 100644 --- a/frontend/src/pages/MainPage.js +++ b/frontend/src/pages/MainPage.js @@ -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 }); }