From 9cdb6554a5b22c37ff9723239d1a78882cdc10cd Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Thu, 18 Jun 2020 17:49:34 +0100 Subject: [PATCH] typo --- packages/server/src/utilities/builder/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/utilities/builder/index.js b/packages/server/src/utilities/builder/index.js index 9a065642ad..7b9a6a69ec 100644 --- a/packages/server/src/utilities/builder/index.js +++ b/packages/server/src/utilities/builder/index.js @@ -41,7 +41,7 @@ const screenPath = (appPath, pageName, name) => module.exports.saveScreen = async (config, appname, pagename, screen) => { const appPath = appPackageFolder(config, appname) - const compPath = screenPath(appPath, pagename, screen.props._instanceName) + const compPath = screenPath(appPath, pagename, screen.name) await ensureDir(dirname(compPath)) if (screen._css) { delete screen._css