import { Card, CardContent, CardFooter, CardHeader, CardTitle, } from "../ui/card"; import { Button } from "../ui/button"; import { useTranslation } from "react-i18next"; import { useLocation } from "react-router"; interface Props { onClick: () => void; appUrl: string; currentUrl: string; } export const DomainWarning = (props: Props) => { const { onClick, appUrl, currentUrl } = props; const { t } = useTranslation(); const { search } = useLocation(); const searchParams = new URLSearchParams(search); return ( {t("domainWarningTitle")}

{t("domainWarningSubtitle")}

          
            {t("domainWarningExpected")} 
            {appUrl}
          
        
          
            {t("domainWarningCurrent")} 
            {currentUrl}
          
        
); };