fix(webapp): safely type invite form submission result - #4382
Conversation
|
|
Hi @khushhhhh, thanks for your interest in contributing! This project requires that pull request authors are vouched, and you are not in the list of vouched users. This PR will be closed automatically. See https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md for more details. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe invite route imports Conform's ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Resolves an open TODO regarding typing
lastResultin the invite member form. It was previously cast toany.Changes
SubmissionResultfrom@conform-to/reactlastSubmissiontoSubmissionResult<string[]>to ensure type safety in form validation results.