diff --git a/editor.planx.uk/src/pages/FlowEditor/lib/store/shared.ts b/editor.planx.uk/src/pages/FlowEditor/lib/store/shared.ts index 2f31a63dd9..1b96cb8394 100644 --- a/editor.planx.uk/src/pages/FlowEditor/lib/store/shared.ts +++ b/editor.planx.uk/src/pages/FlowEditor/lib/store/shared.ts @@ -13,7 +13,7 @@ export interface SharedStore extends Store.Store { flow: Store.flow; flowSlug: string; flowName: string; - flowMetabaseLink: string; + flowMetabaseLink: string | null; id: string; getNode: (id: Store.nodeId) => Store.node | undefined; resetPreview: () => void; @@ -52,7 +52,7 @@ export const sharedStore: StateCreator< flowName: "", - flowMetabaseLink: "", + flowMetabaseLink: null, id: "", previewEnvironment: "standalone",