💄 remove form description and format w/ prettier

This commit is contained in:
Fred KISSIE
2025-10-30 00:21:39 +01:00
parent c36fb63f8c
commit 5a61040027

View File

@@ -88,12 +88,13 @@ export default function CreateBlueprintForm({
if (!isValid) return; if (!isValid) return;
const res = await api const res = await api
.put< .put<AxiosResponse<CreateBlueprintResponse>>(
AxiosResponse<CreateBlueprintResponse> `/org/${orgId}/blueprint/`,
>(`/org/${orgId}/blueprint/`, { {
name: form.getValues("name"), name: form.getValues("name"),
blueprint: form.getValues("contents") blueprint: form.getValues("contents")
}) }
)
.catch((e) => { .catch((e) => {
toast({ toast({
variant: "destructive", variant: "destructive",
@@ -132,9 +133,6 @@ export default function CreateBlueprintForm({
render={({ field }) => ( render={({ field }) => (
<FormItem> <FormItem>
<FormLabel>{t("name")}</FormLabel> <FormLabel>{t("name")}</FormLabel>
<FormDescription>
{t("blueprintNameDescription")}
</FormDescription>
<FormControl> <FormControl>
<Input {...field} /> <Input {...field} />
</FormControl> </FormControl>