Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions modules/admin-home/assets/js/components/paper/welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 0 additions & 4 deletions modules/admin-home/assets/js/pages/admin-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -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 />
Expand Down
Loading