diff --git a/src/App.tsx b/src/App.tsx index cb3a381..7cd4180 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,14 +16,12 @@ import { PlanComponent } from "components/pages/Plan/PlanComponent"; import { useAppDispatch, useAppSelector } from "hooks/redux"; import { fetchCards } from "store/reducers/ActionCreator"; import { cardSlice } from "store/reducers/cardSlice"; -import { languageSlice } from "store/reducers/languageSlice"; import { ICards } from "models/ICards"; const App: React.FC = () => { const dispatch = useAppDispatch(); const history = useHistory(); const { handleCurrentCard } = cardSlice.actions; - const { handleChangeLanguage } = languageSlice.actions; const { cards, currentCard } = useAppSelector((state) => state.cardReducer); const { currentLang } = useAppSelector((state) => state.languageReducer); @@ -50,7 +48,6 @@ const App: React.FC = () => { return ( -

{t("demo-title")}

diff --git a/src/components/pages/Stream/PopupExit/PopupExit.tsx b/src/components/pages/Stream/PopupExit/PopupExit.tsx index 4c8d322..4943ee7 100644 --- a/src/components/pages/Stream/PopupExit/PopupExit.tsx +++ b/src/components/pages/Stream/PopupExit/PopupExit.tsx @@ -1,6 +1,5 @@ import "../PopupShare/sharePopup.css"; import "./PopupExit.css"; -import close from 'images/icons/close.svg' import { useTranslation } from "react-i18next"; @@ -16,9 +15,6 @@ export const PopupExit: React.FC = ({ setClose, onExit }) => {

{t("popup-control-exit-title")}

-
setClose()} className="icon-close-container"> - -