From 7c2a12056c67071753672b44635ed803fdba925d Mon Sep 17 00:00:00 2001 From: Matt-Hurd Date: Sat, 2 Sep 2023 18:03:59 -0500 Subject: [PATCH] Fix point action checking --- src/components/PointNotesDisplay/PointNotesDisplay.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PointNotesDisplay/PointNotesDisplay.tsx b/src/components/PointNotesDisplay/PointNotesDisplay.tsx index 72c6d47..09adc84 100644 --- a/src/components/PointNotesDisplay/PointNotesDisplay.tsx +++ b/src/components/PointNotesDisplay/PointNotesDisplay.tsx @@ -21,7 +21,7 @@ const PointNotesDisplay: React.FC = () => { const thing: Thing | undefined = route.things[point.thingId]; if (thing && (thing.type === "Shrine" || thing.type === "Lightroot")) { - if (!point.action || point.action === Action.None) { + if (!point.action) { let wasPreviouslySeen = false; // Loop through branches and points to check if the current Thing was previously activated or completed