Skip to content

Commit

Permalink
fix: fixed update environment submit button issue (#4220)
Browse files Browse the repository at this point in the history
Signed-off-by: Vansh Bhatia <vansh.bhatia@harness.io>
  • Loading branch information
vanshBhatia-A4k9 authored Oct 10, 2023
1 parent 85e730c commit d1b19a3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,11 @@ export default function CreateEnvironment({
variation={ButtonVariation.SECONDARY}
text={getString('cancel')}
/>
<Button type="submit" variation={ButtonVariation.PRIMARY} text={getString('save')} />
<Button
onClick={() => formikProps.handleSubmit()}
variation={ButtonVariation.PRIMARY}
text={getString('save')}
/>
</Layout.Horizontal>
</Layout.Vertical>
</Form>
Expand Down

0 comments on commit d1b19a3

Please sign in to comment.