From 8e78c27ab73549fbaf39554177a7bde5bc814f76 Mon Sep 17 00:00:00 2001 From: Lisa Stillwell Date: Thu, 23 May 2024 18:59:01 -0400 Subject: [PATCH] updated button text on layers panel and bring up correct form when button is clicked --- src/components/trays/layers/form.js | 8 ++------ src/components/trays/layers/tray-contents.js | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/components/trays/layers/form.js b/src/components/trays/layers/form.js index 4ed7e1e6..e2a9c1a8 100644 --- a/src/components/trays/layers/form.js +++ b/src/components/trays/layers/form.js @@ -1,12 +1,8 @@ import React from 'react'; -import { Stack } from '@mui/joy'; +import { ModelSelection } from '../model-selection/model-selection'; export const AddLayerForm = () => { return ( - - FORM! - + ); }; \ No newline at end of file diff --git a/src/components/trays/layers/tray-contents.js b/src/components/trays/layers/tray-contents.js index 2520182c..86d055d8 100644 --- a/src/components/trays/layers/tray-contents.js +++ b/src/components/trays/layers/tray-contents.js @@ -29,7 +29,7 @@ export const TrayContents = () => { size="lg" startDecorator={ } onClick={ handleClickToggleState } - >Add a Layer + >Add a Model Run ); }