[appdef] fixes: Creating page not changing the slug (#7873)

* fixes: Creating page not changing the slug

* removes extra whitespace
This commit is contained in:
Arpit 2023-10-16 10:48:03 +05:30 committed by GitHub
parent 0adbcbd3f7
commit b946feba05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1270,6 +1270,7 @@ const EditorComponent = (props) => {
switchPage: true,
pageId: newPageId,
});
props?.navigate(`/${getWorkspaceId()}/apps/${appId}/${newHandle}`);
};
const switchPage = (pageId, queryParams = []) => {