芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/public_html/wp-content/plugins/blocksy-companion/static/js/dashboard-no-theme.js
import { createElement, render, useState } from '@wordpress/element' import * as check from '@wordpress/element' import { __ } from 'ct-i18n' import NoTheme from './dashboard/NoTheme' import VersionMismatchNotice from './notifications/VersionMismatchNotice' const Dashboard = () => { if (ctDashboardLocalizations.theme_version_mismatch) { return (
) } return
} document.addEventListener('DOMContentLoaded', () => { if (document.getElementById('ct-dashboard')) { render(
, document.getElementById('ct-dashboard')) } })