From 364f25341eb75b3de3518abc5cd5e860d84df000 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 12 May 2022 09:46:21 +0100 Subject: [PATCH] Remove concept of frontend preview types --- packages/builder/src/builderStore/store/frontend.js | 1 - packages/builder/src/constants/index.js | 7 ------- 2 files changed, 8 deletions(-) diff --git a/packages/builder/src/builderStore/store/frontend.js b/packages/builder/src/builderStore/store/frontend.js index d14fcb2cd4..5d6e3a6bfc 100644 --- a/packages/builder/src/builderStore/store/frontend.js +++ b/packages/builder/src/builderStore/store/frontend.js @@ -9,7 +9,6 @@ import { tables, } from "stores/backend" import { API } from "api" -import { FrontendTypes } from "constants" import analytics, { Events } from "analytics" import { findComponentType, diff --git a/packages/builder/src/constants/index.js b/packages/builder/src/constants/index.js index 065b4ead06..4e2ca37b9c 100644 --- a/packages/builder/src/constants/index.js +++ b/packages/builder/src/constants/index.js @@ -2,13 +2,6 @@ export const TableNames = { USERS: "ta_users", } -export const FrontendTypes = { - PAGE: "page", - SCREEN: "screen", - LAYOUT: "layout", - NONE: "none", -} - export const AppStatus = { ALL: "all", DEV: "development",