Tweak: Remove welcome banner from home [TMZ-919]

This commit is contained in:
Nicola Peluchetti 2025-09-30 12:32:12 +02:00
parent 1d87aa3d19
commit 64601ca7d0
2 changed files with 2 additions and 4 deletions

View file

@ -48,6 +48,8 @@ export const Welcome = ( { sx, dismissable = false } ) => {
await wp.ajax.post( 'ehe_dismiss_theme_notice', { nonce: window.ehe_cb.nonce } );
setVisible( false );
} catch ( e ) {
// eslint-disable-next-line no-console
console.error( e );
}
} }>
<Box component="span" className="screen-reader-text">{ __( 'Dismiss this notice.', 'hello-elementor' ) }</Box>

View file

@ -5,7 +5,6 @@ import { ThemeProvider } from '@elementor/ui/styles';
import { GridWithActionLinks } from '../layouts/grids/grid-with-action-links';
import Stack from '@elementor/ui/Stack';
import { QuickLinks } from '../components/paper/quick-links';
import { Welcome } from '../components/paper/welcome';
import { SiteParts } from '../components/paper/site-parts';
import { Resources } from '../components/paper/resources';

@ -15,9 +14,6 @@ export const AdminPage = () => {
<Box className="hello_plus__notices" component="div">
</Box>
<Box>
<Box sx={ { mb: 2 } }>
<Welcome />
</Box>
<GridWithActionLinks>
<Stack direction="column" gap={ 2 }>
<QuickLinks />