Skip to content

Commit

Permalink
Merge pull request #225 from HunnySajid/fix/223
Browse files Browse the repository at this point in the history
fix: cancel request on close dialog
  • Loading branch information
HunnySajid authored Nov 18, 2024
2 parents 1b8c663 + af018e6 commit 3d618ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/content/dialog/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ export function Dialog({
}, []);

const onClickRemove = () => {
postMessage({
type: "/signify/reply",
error: "request has been cancelled",
requestId,
rurl,
});
handleRemove();
};

Expand Down

0 comments on commit 3d618ee

Please sign in to comment.