Merge branch 'master' into listings
This commit is contained in:
commit
42f1b71b70
1 changed files with 0 additions and 2 deletions
|
@ -3,7 +3,6 @@ import Footer from "./shared-components/footer-component/Footer";
|
|||
import Navbar from "./shared-components/navbar-component/Navbar";
|
||||
import { BrowserRouter, Route, Switch } from "react-router-dom";
|
||||
import i18next from "i18next";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import Cookies from "js-cookie";
|
||||
import HomePage from "./homePage/Homepage";
|
||||
import ListingsPage from "./listings-page/ListingsPage";
|
||||
|
@ -31,7 +30,6 @@ function App() {
|
|||
const currentLanguage = langauges.find(
|
||||
(lang) => lang.code === currentLanguageCode
|
||||
);
|
||||
const { t } = useTranslation();
|
||||
|
||||
useEffect(() => {
|
||||
document.body.dir = currentLanguage.dir || "ltr";
|
||||
|
|
Loading…
Reference in a new issue