import { createElement, useState } from '@wordpress/element' import * as check from '@wordpress/element' import { __ } from 'ct-i18n' import { wpUpdatesAjax } from '../helpers/wp-updates' const NoTheme = () => { const [isLoading, setIsLoading] = useState(false) const activateTheme = () => { if (!ctDashboardLocalizations.activate) { return } if (ctDashboardLocalizations.activate_multi_site) { fetch(ctDashboardLocalizations.activate_multi_site).then( (response) => { location = ctDashboardLocalizations.activate } ) return } location = ctDashboardLocalizations.activate } return (
{__( 'Blocksy Companion is the complementary plugin to Blocksy theme. It adds a bunch of great features to the theme and acts as an unlocker for the Blocksy Pro package.', 'blocksy-companion' )}
{__( 'In order to take full advantage of all features it has to offer - please install and activate the Blocksy theme also.', 'blocksy-companion' )}
{ctDashboardLocalizations.activate && ( )}