Skip to content

Commit

Permalink
Redirect to proper editor_url
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 2f0f2fe commit 85e919a
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 85e919a

Please sign in to comment.