diff --git a/src/components/ui/Menu.jsx b/src/components/ui/Nav.jsx similarity index 95% rename from src/components/ui/Menu.jsx rename to src/components/ui/Nav.jsx index dfcb623..4aa6fca 100644 --- a/src/components/ui/Menu.jsx +++ b/src/components/ui/Nav.jsx @@ -18,7 +18,6 @@ export default function Nav() { */} - ); } diff --git a/src/pages/Country.jsx b/src/pages/Country.jsx index b764595..91ef804 100644 --- a/src/pages/Country.jsx +++ b/src/pages/Country.jsx @@ -1,6 +1,6 @@ import React from "react"; import CountrySelect from "../components/ui/CountrySelect"; -import Menu from "../components/ui/Menu"; +import Nav from "../components/ui/Nav"; import { motion } from "framer-motion"; import { useLocation, useNavigate } from "react-router-dom"; @@ -12,7 +12,7 @@ export default function Country() { const location = useLocation(); const { language, screensTranslations } = useUser(); - + if (!screensTranslations || !screensTranslations.country) return

loading

; const currentScreenTranslations = screensTranslations.country; @@ -24,7 +24,7 @@ export default function Country() { exit={{ x: "-100%", opacity: 1 }} transition={{ duration: 0.3, ease: "easeOut" }}>
- +