Skip to content

Commit

Permalink
feature(web): Pop tag in TagEditor on pressing backspace. #368
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBassem committed Sep 1, 2024
1 parent 77adb84 commit 6d4d1a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/components/dashboard/bookmarks/TagsEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export function TagsEditor({ bookmark }: { bookmark: ZBookmark }) {
actionMeta: ActionMeta<EditableTag>,
) => {
switch (actionMeta.action) {
case "pop-value":
case "remove-value": {
if (actionMeta.removedValue.value) {
mutate({
Expand Down

0 comments on commit 6d4d1a6

Please sign in to comment.