diff --git a/src/components/App.js b/src/components/App.js index 5bbf0e7..d913e7f 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,4 +1,4 @@ -import React from "react"; +import React, { Suspense } from "react"; import { Route, Switch } from "react-router-dom"; import HomePage from "./home/HomePage"; import AboutPage from "./about/AboutPage"; @@ -10,12 +10,12 @@ import SessionContainer from "../features/session/components/SessionContainer"; function App() { const contentStyle = { - "padding-left": "30px", - "padding-right": "30px" + paddingLeft: "30px", + paddingRight: "30px" }; return ( -
+
}>

@@ -27,7 +27,7 @@ function App() {
- + ); } diff --git a/src/utils/i18n.js b/src/utils/i18n.js index acb14f1..2c55634 100644 --- a/src/utils/i18n.js +++ b/src/utils/i18n.js @@ -82,9 +82,6 @@ i18n return value; } }, - react: { - useSuspense: false - }, backend: { loadPath: "/public/locales/{{lng}}/{{ns}}.json" }