import React from 'react'; import { useSelector } from 'react-redux'; import { Button, Dialog, DialogActions, DialogContent, DialogContentText, Link } from '@mui/material'; import { useTranslation } from './LocalizationProvider'; const TermsDialog = ({ open, onCancel, onAccept }) => { const t = useTranslation(); const termsUrl = useSelector((state) => state.session.server.attributes.termsUrl); const privacyUrl = useSelector((state) => state.session.server.attributes.privacyUrl); return ( {t('userTermsPrompt')}
  • {t('userTerms')}
  • {t('userPrivacy')}
); }; export default TermsDialog;