Remove the custom editor page
[MAILPOET-6090]
This commit is contained in:
committed by
Oluwaseun Olorunsola
parent
bc7bb56f90
commit
33e828f2ed
@@ -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,
|
||||
|
Reference in New Issue
Block a user