Skip to content

Commit

Permalink
fix(database-creation-flow): submit button type (#1272)
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiBonnet authored Apr 11, 2024
1 parent 501cc6d commit 32b3fda
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function StepSummary(props: StepSummaryProps) {
<p className="text-neutral-350 text-sm">
The basic database setup is done, you can now deploy your database or move forward with some advanced setup.
</p>
{props.generalData.mode == DatabaseModeEnum.MANAGED && (
{props.generalData.mode === DatabaseModeEnum.MANAGED && (
<Callout.Root color="yellow">
<Callout.Icon>
<Icon iconName="triangle-exclamation" />
Expand Down Expand Up @@ -119,6 +119,7 @@ export function StepSummary(props: StepSummaryProps) {
loading={props.isLoadingCreate}
onClick={() => props.onSubmit(false)}
size="lg"
type="button"
variant="outline"
>
Create
Expand All @@ -127,6 +128,7 @@ export function StepSummary(props: StepSummaryProps) {
data-testid="button-create-deploy"
loading={props.isLoadingCreateAndDeploy}
onClick={() => props.onSubmit(true)}
type="button"
size="lg"
>
Create and deploy
Expand Down

0 comments on commit 32b3fda

Please sign in to comment.