Skip to content

Conversation

@david-crespo
Copy link
Collaborator

@david-crespo david-crespo commented Feb 21, 2023

Ran into this while doing #1366. I always had a weird feeling about the optional instanceName but the fix didn't occur to me until now. Both modals rely on a mutation that is only called if onSubmit is not passed in, and that mutation relies on data that happens to only be there when onSubmit is not passed in. Instead, always pass in onSubmit, and the calling code ensures the relevant data is present.

@vercel
Copy link

vercel bot commented Feb 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
console-ui-storybook ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 21, 2023 at 9:44PM (UTC)

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