Skip to content

Commit

Permalink
added welcomeGuide check
Browse files Browse the repository at this point in the history
  • Loading branch information
Addison-Stavlo committed Feb 3, 2020
1 parent 6327bc3 commit 372675b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ subscribe( () => {
dispatch( 'core/nux' ).disableTips();
dispatch( 'automattic/nux' ).setWpcomNuxStatus( { isNuxEnabled: true } );
}
if ( select( 'core/edit-post' ).isFeatureActive( 'welcomeGuide' ) ) {
dispatch( 'core/edit-post' ).toggleFeature( 'welcomeGuide' );
dispatch( 'automattic/nux' ).setWpcomNuxStatus( { isNuxEnabled: true } );
}
} );

0 comments on commit 372675b

Please sign in to comment.