golden hour
/home/phakp/public_html/wp/wp-content/themes/neve/dashboard/src/Components/Content
⬆️ Go Up
Upload
File/Folder
Size
Actions
Changelog.js
2.16 KB
Del
OK
FreePro.js
829 B
Del
OK
Help.js
3.19 KB
Del
OK
Plugins.js
504 B
Del
OK
Pro.js
458 B
Del
OK
Start.js
2.07 KB
Del
OK
StarterSites.js
777 B
Del
OK
Edit: Plugins.js
/* global neveDash */ import PluginCard from '../PluginCard'; const {withSelect} = wp.data; const {Fragment} = wp.element; const Header = ({plugins}) => { if (! plugins) { return null; } return ( <Fragment> { Object.keys(plugins).map((slug) => { return <PluginCard key={slug} slug={slug} data={plugins[slug]}/>; }) } </Fragment> ); }; export default withSelect(select => { const {getPlugins} = select('neve-dashboard'); return { plugins: getPlugins() }; })(Header);
Save