Skip to content

Commit

Permalink
feat(3636): track cloud provider selection reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
golebu2020 committed Sep 25, 2024
1 parent 8a3db10 commit c3ddab6
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,15 @@ export default publicCloudProductEdit(({ pathParams, queryParams, session }) =>
];

const isSubmitEnabled = formState.isDirty || isSecondaryTechLeadRemoved;

return (
<div>
<PublicCloudBillingInfo product={snap.currentProduct} className="mb-2" />
<PublicCloudBillingInfo
product={{
...snap.currentProduct,
providerSelectionReasons: [...snap.currentProduct.providerSelectionReasons],
}}
className="mb-2"
/>
<FormProvider {...methods}>
<FormErrorNotification />
<form autoComplete="off" onSubmit={methods.handleSubmit(() => setOpenComment(true))}>
Expand Down

0 comments on commit c3ddab6

Please sign in to comment.