diff options
author | bobzel <zzzman@gmail.com> | 2025-03-14 12:20:41 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-03-14 12:20:41 -0400 |
commit | 45a9f5789fa6eaacca9a39cb96cc2a8e3ebe649c (patch) | |
tree | f4d098425f93dc63b9dcb3655bd6034930670e2a /src/client/views/nodes/trails/PresElementBox.tsx | |
parent | 4433afe837412c10a278e54ee8069cad992900a0 (diff) |
simplified anchorMenu to just have an AskAI button .. then updated GPtPopup's summaryBox to have a flashcard option.
Diffstat (limited to 'src/client/views/nodes/trails/PresElementBox.tsx')
-rw-r--r-- | src/client/views/nodes/trails/PresElementBox.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/views/nodes/trails/PresElementBox.tsx b/src/client/views/nodes/trails/PresElementBox.tsx index 957df894c..31cd1603f 100644 --- a/src/client/views/nodes/trails/PresElementBox.tsx +++ b/src/client/views/nodes/trails/PresElementBox.tsx @@ -239,10 +239,7 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps>() { e.clientY, undefined, action(() => { - Array.from(classesToRestore).forEach(pair => { - // eslint-disable-next-line prefer-destructuring - pair[0].className = pair[1]; - }); + Array.from(classesToRestore).forEach(pair => (pair[0].className = pair[1])); this._dragging = false; }) ); |