Skip to content

Commit

Permalink
Handler for the edit_page Launchpad task (#79204)
Browse files Browse the repository at this point in the history
  • Loading branch information
markbiek authored Jul 10, 2023
1 parent c75b859 commit 1043c24
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ const LaunchpadKeepBuilding = ( { site }: LaunchpadKeepBuildingProps ): JSX.Elem
window.location.assign( `/page/${ siteSlug }` );
};
break;
case 'edit_page':
actionDispatch = () => {
recordTaskClickTracksEvent( task );
window.location.assign( `/pages/${ siteSlug }` );
};
break;

case 'share_site':
actionDispatch = () => {
Expand Down

0 comments on commit 1043c24

Please sign in to comment.