mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
💄 remove form description and format w/ prettier
This commit is contained in:
@@ -88,12 +88,13 @@ export default function CreateBlueprintForm({
|
||||
if (!isValid) return;
|
||||
|
||||
const res = await api
|
||||
.put<
|
||||
AxiosResponse<CreateBlueprintResponse>
|
||||
>(`/org/${orgId}/blueprint/`, {
|
||||
name: form.getValues("name"),
|
||||
blueprint: form.getValues("contents")
|
||||
})
|
||||
.put<AxiosResponse<CreateBlueprintResponse>>(
|
||||
`/org/${orgId}/blueprint/`,
|
||||
{
|
||||
name: form.getValues("name"),
|
||||
blueprint: form.getValues("contents")
|
||||
}
|
||||
)
|
||||
.catch((e) => {
|
||||
toast({
|
||||
variant: "destructive",
|
||||
@@ -132,9 +133,6 @@ export default function CreateBlueprintForm({
|
||||
render={({ field }) => (
|
||||
<FormItem>
|
||||
<FormLabel>{t("name")}</FormLabel>
|
||||
<FormDescription>
|
||||
{t("blueprintNameDescription")}
|
||||
</FormDescription>
|
||||
<FormControl>
|
||||
<Input {...field} />
|
||||
</FormControl>
|
||||
|
||||
Reference in New Issue
Block a user