Skip to content

Commit

Permalink
fix: 馃悰 fix func name
Browse files Browse the repository at this point in the history
  • Loading branch information
yeukfei02 committed Dec 13, 2022
1 parent 2604f07 commit f5a3ce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/mainPage/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function MainPage(): JSX.Element {
getSelectedTermList();
getSelectedMicLanguageList();
getUserCurrentLatLong();
setIntitialResultList();
setInitialResultList();
}, []);

useEffect(() => {
Expand Down Expand Up @@ -244,7 +244,7 @@ function MainPage(): JSX.Element {
});
};

const setIntitialResultList = () => {
const setInitialResultList = () => {
const resultListFromLocalStorageStr = localStorage.getItem('resultList');
if (resultListFromLocalStorageStr) {
const resultListFromLocalStorageJSON = JSON.parse(resultListFromLocalStorageStr);
Expand Down

0 comments on commit f5a3ce1

Please sign in to comment.