From 618955e1ee7c1079e665ca2d1150424b8b0fc822 Mon Sep 17 00:00:00 2001 From: Eric Tuvesson Date: Fri, 28 Jun 2024 00:43:34 +0200 Subject: [PATCH] feat: Portal include Project ID (#47) --- .../src/views/DeployPopup/DeployPopup.tsx | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/packages/noodl-editor/src/editor/src/views/DeployPopup/DeployPopup.tsx b/packages/noodl-editor/src/editor/src/views/DeployPopup/DeployPopup.tsx index ee6eebd..4d72b26 100644 --- a/packages/noodl-editor/src/editor/src/views/DeployPopup/DeployPopup.tsx +++ b/packages/noodl-editor/src/editor/src/views/DeployPopup/DeployPopup.tsx @@ -1,5 +1,6 @@ -import { usePluginContext } from '@noodl-contexts/PluginContext'; -import React, { RefObject, useEffect, useRef } from 'react'; +import React, { RefObject } from 'react'; + +import { ProjectModel } from '@noodl-models/projectmodel'; import { ActivityIndicator } from '@noodl-core-ui/components/common/ActivityIndicator'; import { BaseDialog } from '@noodl-core-ui/components/layout/BaseDialog'; @@ -62,6 +63,19 @@ export function DeployPopup(props: DeployPopupProps) { } function FluxscapeDeployTab() { - // Preview URL: 'http://192.168.0.33:8574/' - return