Skip to content

Commit

Permalink
Redirect to proper editor_url (#708)
Browse files Browse the repository at this point in the history
Redirect to proper editor_url. Update create-modal.js
  • Loading branch information
rinkuyadav999 authored Aug 28, 2024
1 parent 61a3d8d commit bbe5ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/landing-page/create-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const CreateThemeModal = ( { onRequestClose, creationType } ) => {
'create-block-theme'
)
);
window.location = '/wp-admin/site-editor.php?canvas=edit';
window.location = window.cbt_landingpage_variables.editor_url;
} )
.catch( ( error ) => {
setErrorMessage(
Expand Down

0 comments on commit bbe5ca5

Please sign in to comment.