diff --git a/src/ui/CustomContextMenu.tsx b/src/ui/CustomContextMenu.tsx index 6a379a3..ef89f45 100644 --- a/src/ui/CustomContextMenu.tsx +++ b/src/ui/CustomContextMenu.tsx @@ -14,6 +14,11 @@ import { TLUiContextMenuProps, useEditor } from "tldraw" import { cameraHistory, } from "./cameraUtils" + +// Feature flags - disable experimental features in production +const IS_PRODUCTION = import.meta.env.PROD +const ENABLE_DRAWFAST = false // Drawfast disabled everywhere - needs debugging +const ENABLE_CALENDAR = !IS_PRODUCTION // Calendar - dev only import { useState, useEffect } from "react" import { saveToPdf } from "../utils/pdfUtils" import { TLFrameShape } from "tldraw" @@ -129,7 +134,7 @@ export function CustomContextMenu(props: TLUiContextMenuProps) { - + {ENABLE_DRAWFAST && } @@ -141,7 +146,7 @@ export function CustomContextMenu(props: TLUiContextMenuProps) { */} - + {ENABLE_CALENDAR && }