import { __ } from '@wordpress/i18n'; import { useAIConsentStore } from '@shared/state/ai-consent'; import classNames from 'classnames'; export const AcceptTerms = ({ setBusinessInformation }) => { const { userGaveConsent, consentTermsHTML, setUserGaveConsent } = useAIConsentStore(); const handleCheckbox = (event) => { const { checked } = event.target; setUserGaveConsent(checked); setBusinessInformation('acceptTerms', checked); }; return (

); };