mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
style: improve code formatting for better readability in Register and BasicForm components
This commit is contained in:
@@ -199,7 +199,7 @@ const RegisterPage: () => JSX.Element = () => {
|
||||
title: "Phone Number",
|
||||
dataTestId: "selfHostedPhoneNumber",
|
||||
showEvenIfPermissionDoesNotExist: true,
|
||||
}
|
||||
},
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -237,7 +237,7 @@ const RegisterPage: () => JSX.Element = () => {
|
||||
},
|
||||
]);
|
||||
|
||||
if(!IsBillingEnabled){
|
||||
if (!IsBillingEnabled) {
|
||||
formFields = formFields.concat([
|
||||
{
|
||||
overrideField: {
|
||||
|
||||
@@ -646,7 +646,14 @@ const BasicForm: ForwardRefExoticComponent<any> = forwardRef(
|
||||
})
|
||||
.map((field: Field<T>, i: number) => {
|
||||
return (
|
||||
<div key={getFieldName(field)} className={field.spanFullRow ? `md:col-span-${props.showAsColumns || 1}` : undefined}>
|
||||
<div
|
||||
key={getFieldName(field)}
|
||||
className={
|
||||
field.spanFullRow
|
||||
? `md:col-span-${props.showAsColumns || 1}`
|
||||
: undefined
|
||||
}
|
||||
>
|
||||
{
|
||||
<FormField<T>
|
||||
field={field}
|
||||
|
||||
Reference in New Issue
Block a user