Skip to content

fix/#62: Add onConfirmation callback mechanism in RequestProvider#68

Merged
MantisClone merged 4 commits intoRequestNetwork:masterfrom
OjusWiZard:fix/#62
Sep 29, 2023
Merged

fix/#62: Add onConfirmation callback mechanism in RequestProvider#68
MantisClone merged 4 commits intoRequestNetwork:masterfrom
OjusWiZard:fix/#62

Conversation

@OjusWiZard
Copy link
Contributor

@OjusWiZard OjusWiZard commented Sep 29, 2023

Fixes #62

I've added a new state called onConfirmation in the RequestProvider. This can add callbacks to the confirmed events in the request. So to fix this issue, I called the update onConfirmation on RequestPage if the current status is waiting.

Demo

demo.webm

Signed-off-by: OjusWiZard <ojuswimail@gmail.com>
Signed-off-by: OjusWiZard <ojuswimail@gmail.com>
Signed-off-by: OjusWiZard <ojuswimail@gmail.com>
Signed-off-by: OjusWiZard <ojuswimail@gmail.com>
Copy link
Member

@MantisClone MantisClone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Thank you for your contribution!

@MantisClone MantisClone merged commit 3b5135a into RequestNetwork:master Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Request page doesn't update after a request is confirmed

2 participants