From 1639ebf0e7cb11108f36e2cef17da1164f03cc18 Mon Sep 17 00:00:00 2001
From: alinayejin <alina_kim@brown.edu>
Date: Sun, 17 Dec 2023 23:54:09 -0500
Subject: no fix for pin state entry

---
 .../collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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

diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx
index d653a2ef3..947167628 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx
@@ -59,7 +59,7 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent<Collectio
 
         let pinned : FieldResult<Field>;
         const pin = () => Doc.ActivePresentation?.data;
-        const trail = () => DocumentManager.Instance.DocumentViews.find(view => view.Document === Doc.MyTrails);
+        const trailView = () => DocumentManager.Instance.DocumentViews.find(view => view.Document === Doc.MyTrails);
         const presentationMode = () => Doc.ActivePresentation?.presentation_status;
 
         // set of states
@@ -141,7 +141,7 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent<Collectio
 
         const demos = InfoState('Wanna explore more?', {
             // activePen: [() => activeTool() === InkTool.Pen, () => penMode],
-            docPinned: [() => pinned && pinned != pin(), () => pinnedDoc],
+            docPinned: [() => pin(), () => pinnedDoc],
         });
 
         // const penMode = InfoState('You\'re in pen mode. Click and drag to draw your first masterpiece.', {
@@ -155,8 +155,8 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent<Collectio
 
         const pinnedDoc = InfoState('You just pinned your doc.', {
             editPresentation: [() => presentationMode() === 'edit', () => editPresentationMode],
-            // manualPresentation: [() => presentationMode() === 'manual', () => manualPresentationMode],
-            // autoPresentation: [() => presentationMode() === 'auto', () => autoPresentationMode],
+            manualPresentation: [() => presentationMode() === 'manual', () => manualPresentationMode],
+            autoPresentation: [() => presentationMode() === 'auto', () => autoPresentationMode],
             docRemoved: [() => numDocs() < 3, () => demos],
         });
         
-- 
cgit v1.2.3-70-g09d2

