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

Invalid message prop on @mantine/notifications #2327

Closed
danestves opened this issue Sep 2, 2022 · 2 comments
Closed

Invalid message prop on @mantine/notifications #2327

danestves opened this issue Sep 2, 2022 · 2 comments
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)

Comments

@danestves
Copy link

What package has an issue

@mantine/notifications

Describe the bug

When using the notifications package and passing the message prop like this:

Code

We get an message="[object Object]" on the HTML:

Developer tools inspect

What version of @mantine/hooks page do you have in package.json?

5.2.4

If possible, please include a link to a codesandbox with the reproduced problem

No response

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

No

Possible fix

Take out the message prop of the props of the function to avoid put it in on the HTML directly

@rtivital
Copy link
Member

rtivital commented Sep 2, 2022

Thanks for reporting, the issue will be fixed in one of the next patches

rtivital pushed a commit that referenced this issue Sep 4, 2022
@rtivital rtivital added the Fixed patch Completed issues that will be published with next patch (1.0.X) label Sep 4, 2022
@rtivital
Copy link
Member

rtivital commented Sep 6, 2022

Fixed in 5.2.6, thanks @dhrjarun!

@rtivital rtivital closed this as completed Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)
Projects
None yet
Development

No branches or pull requests

2 participants