diff --git a/packages/builder/src/builderStore/buildCodeForScreens.js b/packages/builder/src/builderStore/buildCodeForScreens.js index 037a85d0bb..69ef0d6e0b 100644 --- a/packages/builder/src/builderStore/buildCodeForScreens.js +++ b/packages/builder/src/builderStore/buildCodeForScreens.js @@ -27,7 +27,7 @@ export const buildCodeForScreens = screens => { } const buildComponentCode = componentProps => - `"${componentProps._id}" : (render, context, state, routeParams) => { + `"${componentProps._id}" : (render, context, state, route) => { ${componentProps._code} }, ` diff --git a/packages/builder/src/userInterface/CodeEditor.svelte b/packages/builder/src/userInterface/CodeEditor.svelte index 05072e8562..381e032480 100644 --- a/packages/builder/src/userInterface/CodeEditor.svelte +++ b/packages/builder/src/userInterface/CodeEditor.svelte @@ -65,7 +65,7 @@
- function(render, context, store) {'{'} + function(render, context, state, route) {'{'}