From a022e026437c8b466dd3d8acf9a9fe6f3c8c8fc0 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 15 Aug 2024 10:44:42 +0100 Subject: [PATCH] Update blank screens to use grid layout by default --- packages/builder/src/templates/blankScreen.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/templates/blankScreen.js b/packages/builder/src/templates/blankScreen.js index 80735ef53a..43cabc92d7 100644 --- a/packages/builder/src/templates/blankScreen.js +++ b/packages/builder/src/templates/blankScreen.js @@ -1,7 +1,11 @@ import { Screen } from "./Screen" const blankScreen = route => { - return new Screen().instanceName("New Screen").route(route).json() + return new Screen() + .instanceName("New Screen") + .customProps({ layout: "grid" }) + .route(route) + .json() } export default blankScreen