From fd922d7898ed7a405ed47a7e48b85c582d787c07 Mon Sep 17 00:00:00 2001
From: eleanor-park <eleanor_park@brown.edu>
Date: Fri, 10 Jan 2025 15:07:42 -0500
Subject: working on merge conflicts

---
 .../collections/collectionFreeForm/CollectionFreeFormView.tsx    | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')

diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 112bfd178..e1144f21a 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -2266,7 +2266,6 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
                     <div className="collectionfreeformview-aiView-options">
                         <input className="collectionfreeformview-aiView-prompt" placeholder="Prompt (Optional)" type="text" value={this._drawingFillInput} onChange={action(e => this._canInteract && (this._drawingFillInput = e.target.value))} />
                         <div className="collectionfreeformview-aiView-strength">
-                            Reference Strength
                             <Slider
                                 className="collectionfreeformview-aiView-slider"
                                 sx={{
@@ -2282,6 +2281,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
                                 onChange={action((e, val) => this._canInteract && (this._fireflyRefStrength = val as number))}
                                 valueLabelDisplay="auto"
                             />
+                            Reference Strength
                         </div>
                         <Button
                             text="Send"
@@ -2295,9 +2295,10 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
                                         this.props.Document,
                                         this._fireflyRefStrength,
                                         this._drawingFillInput !== '' ? this._drawingFillInput : StrCast(this.props.Document.title) !== 'grouping' ? StrCast(this.props.Document.title) : ''
-                                    );
-                                    this._drawingFillInput = '';
-                                    this._drawingFillLoading = false;
+                                    ).then(() => {
+                                        this._drawingFillInput = '';
+                                        this._drawingFillLoading = false;
+                                    });
                                 }),
                                 'create image'
                             )}
-- 
cgit v1.2.3-70-g09d2

