From dd60ce03eeedd365a0e7e4a5710ccaa9893252f4 Mon Sep 17 00:00:00 2001 From: Dana Lambert Date: Wed, 20 Oct 2021 15:03:25 +1300 Subject: [PATCH] Fix spelling error for PlantRepository --- frontend/src/pages/MainPage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }); }