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

fix(sooner): custom with action #54

Merged
merged 1 commit into from
Jun 12, 2024
Merged

fix(sooner): custom with action #54

merged 1 commit into from
Jun 12, 2024

Conversation

hyoban
Copy link
Member

@hyoban hyoban commented Jun 11, 2024

image

The Undo button does not seem to be rendered correctly.

Originally posted by @DIYgod in #48 (comment)

I think this is a bug with sonner, we should render the action/cancel button when first arg is react element. Will try to send a PR there.

https://github.com/emilkowalski/sonner/blob/bc74b2d62c7e0e7533a4a21c7597acefa837f231/src/index.tsx#L377-L379

emilkowalski/sonner#445

@hyoban hyoban changed the title fix(sooner): jsx with action fix(sooner): custom with action Jun 11, 2024
@DIYgod DIYgod merged commit e2c8f68 into main Jun 12, 2024
1 check passed
@DIYgod DIYgod deleted the hyoban/59604 branch June 12, 2024 08:00
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.

2 participants