import { Link } from "react-router-dom"; import React from "react"; import AnimatedPage from "../components/AnimatedPage"; import Loading from "../components/animations/Loading"; import { useUser } from "../hooks/useUser"; import warningSticker from "../assets/img/illustrations/lhoist-prevention-smartphone-sticker.svg"; import BrandingLogo from "../components/ui/LhoistBrandingLogo.jsx"; export default function Warning() { const { language, screensTranslations } = useUser(); if (!screensTranslations || !screensTranslations.warning) return ; const currentScreenTranslations = screensTranslations.warning; const uiTranslations = screensTranslations.ui; return ( {currentScreenTranslations.warning} {currentScreenTranslations.safety_text} {uiTranslations.continue} ); }
{currentScreenTranslations.safety_text}