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: unnecessary withDefaults #187

Closed

Conversation

kylegl
Copy link
Contributor

@kylegl kylegl commented Oct 3, 2023

Component errors when upgrading to Nuxt 3.7.4. This pr removes the unnecessary withDefaults function from the Adsbygoogle component.

@manniL Hope the weeks going well. Is this the best way to let you know about pr's?

@TheAlexLichter
Copy link
Collaborator

TheAlexLichter commented Oct 11, 2023

Destructuring props loses their reactivity so I'd prefer withDefaults here actually 😋

Yes, pinging me is totally fine 👍

@kylegl
Copy link
Contributor Author

kylegl commented Oct 11, 2023

Ok, I wasn't able to use it at all with those errors but I'll check again to confirm. Thanks!

edit: I think this was related to using the experimental defineModels composable in my project.

@kylegl kylegl closed this Dec 17, 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.

2 participants