Skip to content

Commit 02735dc

Browse files
committed
Remove live-editor link and redirect old page to new page
1 parent 0178fb4 commit 02735dc

File tree

2 files changed

+3
-4
lines changed
  • packages/react-renderer-demo/src

2 files changed

+3
-4
lines changed

packages/react-renderer-demo/src/components/navigation/schemas/schema.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ const schema = [
6666
fields: editorSchema,
6767
chip: 'Preview',
6868
},
69-
{
70-
linkText: 'Form builder',
71-
link: 'live-editor',
72-
},
7369
{
7470
linkText: 'Testing',
7571
link: 'testing',

packages/react-renderer-demo/src/pages/404.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ const Custom404 = () => {
101101
}
102102

103103
push(newPath);
104+
} else if (asPath.startsWith('/live-editor')) {
105+
setLoading(true);
106+
push('/editor/live-editor');
104107
} else if (asPath.startsWith('/renderer/condition#') && conditionHashMapper[hash]) {
105108
setLoading(true);
106109
push(`/schema/${conditionHashMapper[hash]}`);

0 commit comments

Comments
 (0)