Skip to content

Commit

Permalink
Fix for projectVersion input name change
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-aitken committed Feb 22, 2024
1 parent 24600d2 commit d8c645a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default function NewOrganizationPage() {
<FormError id={projectVersion.errorId}>{projectVersion.error}</FormError>
</InputGroup>
) : (
<input type="hidden" name="projectType" value="v2" />
<input {...conform.input(projectVersion, { type: "hidden" })} value="v2" />
)}
<FormButtons
confirmButton={
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/app/routes/_app.orgs.new/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default function NewOrganizationPage() {
<FormError id={projectVersion.errorId}>{projectVersion.error}</FormError>
</InputGroup>
) : (
<input type="hidden" name="projectType" value="v2" />
<input {...conform.input(projectVersion, { type: "hidden" })} value="v2" />
)}
{isManagedCloud && (
<InputGroup>
Expand Down

0 comments on commit d8c645a

Please sign in to comment.