diff --git a/source/src/App.tsx b/source/src/App.tsx index 49b1150..a77099a 100644 --- a/source/src/App.tsx +++ b/source/src/App.tsx @@ -6,7 +6,6 @@ import storage from "local-storage-fallback" import { isIE } from "react-device-detect" import theming from "./theming" -import { LanguageContext } from "./LangaugeContext" import Spinner from "./components/Spinner" import Navbar from "./components/Navbar" @@ -200,60 +199,45 @@ export default class App extends React.Component { this.setState({ currentTheme: setThemeTo }), // make setTheme function available in other components }} > - { - // cycle through languages - let setLanguageTo = "en" - if (this.state.currentLanguage == "en") - setLanguageTo = "kr" - this.setState({ - currentLanguage: setLanguageTo, - }) - }, - }} - > - - -
- {this.state.isLoading ? ( - - ) : ( - - - - + + +
+ {this.state.isLoading ? ( + + ) : ( + + + + - - - + + + - - - + + + - - - + + + - - {({ match }) => ( - - )} - - - )} -
-
- + + {({ match }) => ( + + )} + + + )} +
+