You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
517 B
TypeScript
16 lines
517 B
TypeScript
import { useSelector } from 'react-redux';
|
|
import { getTermsOfServicePrivacyModalState } from '../../state/onboarding/selectors/modals';
|
|
import { TermsOfServicePrivacyDialog } from '../dialog/TermsOfServicePrivacyDialog';
|
|
|
|
export const ModalContainer = () => {
|
|
const termsOfServicePrivacyModalState = useSelector(getTermsOfServicePrivacyModalState);
|
|
|
|
return (
|
|
<>
|
|
{termsOfServicePrivacyModalState && (
|
|
<TermsOfServicePrivacyDialog {...termsOfServicePrivacyModalState} />
|
|
)}
|
|
</>
|
|
);
|
|
};
|