import React from "react"; import CountrySelect from "../components/ui/CountrySelect"; import Nav from "../components/ui/Nav"; import { motion } from "framer-motion"; import { useLocation, useNavigate } from "react-router-dom"; // import screensTranslations from "../data/screensTranslations.json"; import { useUser } from "../hooks/useUser"; export default function Country() { const navigate = useNavigate(); const location = useLocation(); const { language, screensTranslations } = useUser(); if (!screensTranslations || !screensTranslations.country) return
loading
; const currentScreenTranslations = screensTranslations.country; return (