diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-08-01 23:16:13 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-08-01 23:16:13 -0700 |
commit | dc2b90d848f5fc53a18ad481ba196ac9708de8ec (patch) | |
tree | b8da4f4e7d31e362b39c6f9db38dec3a70afb235 /extension/react-app/src/components/PillButton.tsx | |
parent | f02b5c10876e3c0ee40d3c095564f675c9296bdf (diff) | |
parent | 01ed2c7eb2d3417b2c190eea105008372f49a7c6 (diff) | |
download | sncontinue-dc2b90d848f5fc53a18ad481ba196ac9708de8ec.tar.gz sncontinue-dc2b90d848f5fc53a18ad481ba196ac9708de8ec.tar.bz2 sncontinue-dc2b90d848f5fc53a18ad481ba196ac9708de8ec.zip |
Merge branch 'main' into package-python
Diffstat (limited to 'extension/react-app/src/components/PillButton.tsx')
-rw-r--r-- | extension/react-app/src/components/PillButton.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extension/react-app/src/components/PillButton.tsx b/extension/react-app/src/components/PillButton.tsx index ae744c44..8e5f896e 100644 --- a/extension/react-app/src/components/PillButton.tsx +++ b/extension/react-app/src/components/PillButton.tsx @@ -168,7 +168,9 @@ const PillButton = (props: PillButtonProps) => { data-tooltip-id={`edit-${props.index}`} backgroundColor={"#8800aa55"} onClick={() => { - client?.setEditingAtIndices([props.index]); + client?.setEditingAtIds([ + props.item.description.id.item_id, + ]); }} > <PaintBrushIcon style={{ margin: "auto" }} width="1.6em" /> |