add trailing comma's

This commit is contained in:
Michiel Crefcoeur
2024-09-16 22:21:12 +02:00
committed by GitHub
parent 8f83ecb9ef
commit 847d6ecab1
3 changed files with 3 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ export const AddApplication = ({ projectId, projectName }: Props) => {
const val = e.target.value?.trim() || "";
form.setValue(
"appName",
`${slug}-${val.toLowerCase().replaceAll(" ", "-")}`
`${slug}-${val.toLowerCase().replaceAll(" ", "-")}`,
);
field.onChange(val);
}}

View File

@@ -140,7 +140,7 @@ export const AddCompose = ({ projectId, projectName }: Props) => {
const val = e.target.value?.trim() || "";
form.setValue(
"appName",
`${slug}-${val.toLowerCase()}`
`${slug}-${val.toLowerCase()}`,
);
field.onChange(val);
}}

View File

@@ -344,7 +344,7 @@ export const AddDatabase = ({ projectId, projectName }: Props) => {
const val = e.target.value?.trim() || "";
form.setValue(
"appName",
`${slug}-${val.toLowerCase()}`
`${slug}-${val.toLowerCase()}`,
);
field.onChange(val);
}}