Remove the custom editor page

[MAILPOET-6090]
This commit is contained in:
Rostislav Wolny
2024-11-13 14:17:25 +01:00
committed by Oluwaseun Olorunsola
parent bc7bb56f90
commit 33e828f2ed
5 changed files with 5 additions and 178 deletions

View File

@@ -10,9 +10,7 @@ import {
export function getInitialState(): State {
const searchParams = new URLSearchParams( window.location.search );
const postId = parseInt( searchParams.get( 'post' ), 10 )
? parseInt( searchParams.get( 'post' ), 10 )
: parseInt( searchParams.get( 'postId' ), 10 );
const postId = parseInt( searchParams.get( 'post' ), 10 );
return {
inserterSidebar: {
isOpened: false,