aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/trails
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-09-24 01:21:38 -0400
committerbobzel <zzzman@gmail.com>2021-09-24 01:21:38 -0400
commit643df77e6366b7164307ffe195ed9de83b68e5ae (patch)
treeedf5ce846fbbdb84ccd015b18b07314cb24c76b8 /src/client/views/nodes/trails
parent815899626d82972ae56918487ee3ece11446d5a6 (diff)
wrapped Color() calls in DashColor() to catch exceptions for color strings no found
Diffstat (limited to 'src/client/views/nodes/trails')
-rw-r--r--src/client/views/nodes/trails/PresBox.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx
index add84ff83..8e61a224c 100644
--- a/src/client/views/nodes/trails/PresBox.tsx
+++ b/src/client/views/nodes/trails/PresBox.tsx
@@ -30,8 +30,7 @@ import { LightboxView } from "../../LightboxView";
import { CollectionFreeFormDocumentView } from "../CollectionFreeFormDocumentView";
import { FieldView, FieldViewProps } from '../FieldView';
import "./PresBox.scss";
-import Color = require("color");
-import { PresEffect, PresStatus, PresMovement } from "./PresEnums";
+import { PresEffect, PresMovement, PresStatus } from "./PresEnums";
export class PinProps {
audioRange?: boolean;