Skip to content

Commit b4c10cd

Browse files
authored
Merge pull request #1157 from google/fix/1140-duplicate-dashboard-html
Fix duplicate dashboard screen output
2 parents bcfad53 + 2a9a1a3 commit b4c10cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

includes/Core/Admin/Screen.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@ public function add( Context $context ) {
126126
__( 'Site Kit', 'google-site-kit' ),
127127
$this->args['capability'],
128128
$this->slug,
129-
function() use ( $context ) {
130-
$this->render( $context );
131-
},
129+
'',
132130
$context->url( 'dist/assets/images/logo-g_white_small.png' )
133131
);
134132
$menu_slug = $this->slug;

0 commit comments

Comments
 (0)