feat: use decline instead of reject
This commit is contained in:
parent
f2166c985f
commit
e6c8b946aa
1 changed files with 8 additions and 8 deletions
|
|
@ -100,8 +100,8 @@ const ElicitationRequest = ({
|
|||
}
|
||||
};
|
||||
|
||||
const handleReject = () => {
|
||||
onResolve(request.id, { action: "reject" });
|
||||
const handleDecline = () => {
|
||||
onResolve(request.id, { action: "decline" });
|
||||
};
|
||||
|
||||
const handleCancel = () => {
|
||||
|
|
@ -158,7 +158,7 @@ const ElicitationRequest = ({
|
|||
<Button type="button" onClick={handleAccept}>
|
||||
Submit
|
||||
</Button>
|
||||
<Button type="button" variant="outline" onClick={handleReject}>
|
||||
<Button type="button" variant="outline" onClick={handleDecline}>
|
||||
Decline
|
||||
</Button>
|
||||
<Button type="button" variant="outline" onClick={handleCancel}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue