import { memo } from '@wordpress/element';
import { useDispatch, useSelect } from '@wordpress/data';
import { STORE_KEY } from '../store';
import Modal from './modal';
import { SirenColorfulIcon } from '../ui/icons';
import ModalTitle from './modal-title';
import { __ } from '@wordpress/i18n';
import ToggleSwitch from './toggle-switch';
import Button from './button';
const PreBuildConfirmModal = ( { open, setOpen, startBuilding } ) => {
const { reset } = useSelect( ( select ) => {
const { getImportSiteProgressData } = select( STORE_KEY );
return {
...getImportSiteProgressData(),
};
}, [] );
const { updateImportAiSiteData } = useDispatch( STORE_KEY );
const handleChange = () => {
updateImportAiSiteData( { reset: ! reset } );
};
const handleStartBuilding = () => {
if ( typeof startBuilding !== 'function' ) {
return;
}
setOpen( false );
startBuilding();
};
return (
{ __(
"It looks like you already have a website made with Starter Templates. Clicking the 'Start Building' button will recreate the site, and all previous data will be overridden.",
'ai-builder'
) }
{ __(
'Enabling this option will maintain your old Starter Templates data, including content and images. Enable it to confirm.',
'ai-builder'
) }
{ __( 'Hold On!', 'ai-builder' ) }
{ __(
'Maintain previous/old data?',
'ai-builder'
) }
The post The Basics of He Hello That You Can Benefit From Starting Today appeared first on Foti Landscaping & Contracting Corp.
]]>How To Teach He Hello
He Hello Cheet Sheet
If you have any thoughts about in which and how to use https://gggggggggggggo.com, you can get in touch with us at our own internet site.
The post The Basics of He Hello That You Can Benefit From Starting Today appeared first on Foti Landscaping & Contracting Corp.
]]>