-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
xtrasolutionsco.com
/
wp-content
/
plugins
/
extendify
/
src
/
Assist
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
components
--
NONE
hooks
--
NONE
lib
--
NONE
pages
--
NONE
state
--
NONE
svg
--
NONE
tasks
--
NONE
util
--
NONE
documentation.css
2.007KB
Edit File
Delete File
Rename
page.js
0.805KB
Edit File
Delete File
Rename
import { render as renderDeprecated, createRoot } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import { AssistLandingPage } from '@assist/AssistLandingPage'; import '@assist/app.css'; const render = (component, node) => { if (typeof createRoot !== 'function') { renderDeprecated(component, node); return; } createRoot(node).render(component); }; const init = () => { const assistPage = document.getElementById('extendify-assist-landing-page'); if (!assistPage) return; // append skip link to get here document .querySelector('.screen-reader-shortcut') .insertAdjacentHTML( 'afterend', `<a href="#extendify-assist-landing-page" class="screen-reader-shortcut">${__( 'Skip to Assist', 'extendify-local', )}</a>`, ); render(<AssistLandingPage />, assistPage); }; init();
Save!!!
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat