Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

promise method not working with enqueue #21

Closed
JoaoPedroAS51 opened this issue Sep 15, 2023 · 1 comment
Closed

promise method not working with enqueue #21

JoaoPedroAS51 opened this issue Sep 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@JoaoPedroAS51
Copy link

JoaoPedroAS51 commented Sep 15, 2023

Hey! Thank you for your awesome lib! :)

Just facing one issue since v1.3.0. The promise method is not working with enqueue. The resolve and reject don't change the state of the notification, it just remain in loading state forever.

Repro:

In the notivue demo, enable enqueue and push a promise notification.

image

@JoaoPedroAS51 JoaoPedroAS51 changed the title Promise not working with enqueue promise method not working with enqueue Sep 15, 2023
@smastrom
Copy link
Owner

HI @JoaoPedroAS51, thank you very much for reporting!

Please update notivue to the latest version:

pnpm add notivue@latest

And thank you again!

@smastrom smastrom added the bug Something isn't working label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants