From 2bd239e39264a362d1fbb013ce2613d03247d78e Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Mon, 4 Dec 2023 17:38:36 -0500
Subject: trying to do version updates on all npm packages.

---
 src/client/views/pdf/AnchorMenu.tsx | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

(limited to 'src/client/views/pdf/AnchorMenu.tsx')

diff --git a/src/client/views/pdf/AnchorMenu.tsx b/src/client/views/pdf/AnchorMenu.tsx
index 35c27d81b..2d8e9e2a2 100644
--- a/src/client/views/pdf/AnchorMenu.tsx
+++ b/src/client/views/pdf/AnchorMenu.tsx
@@ -3,7 +3,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
 import { ColorPicker, Group, IconButton, Popup, Size, Toggle, ToggleType, Type } from 'browndash-components';
 import { action, computed, IReactionDisposer, observable, ObservableMap, reaction } from 'mobx';
 import { observer } from 'mobx-react';
-import { ColorState } from 'react-color';
+import { ColorResult } from 'react-color';
 import { Doc, Opt } from '../../../fields/Doc';
 import { returnFalse, setupMoveUpEvents, unimplementedFunction, Utils } from '../../../Utils';
 import { gptAPICall, GPTCallType } from '../../apis/gpt/GPT';
@@ -139,13 +139,10 @@ export class AnchorMenu extends AntimodeMenu<AntimodeMenuProps> {
     }
 
     @action changeHighlightColor = (color: string) => {
-        const col: ColorState = {
+        const col: ColorResult = {
             hex: color,
-            hsl: { a: 0, h: 0, s: 0, l: 0, source: '' },
-            hsv: { a: 0, h: 0, s: 0, v: 0, source: '' },
-            rgb: { a: 0, r: 0, b: 0, g: 0, source: '' },
-            oldHue: 0,
-            source: '',
+            hsl: { a: 0, h: 0, s: 0, l: 0 },
+            rgb: { a: 0, r: 0, b: 0, g: 0 },
         };
         this.highlightColor = Utils.colorString(col);
     };
-- 
cgit v1.2.3-70-g09d2

