Skip to content

Commit

Permalink
feat: Updated packages/hub/src/relative-values/com
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Oct 27, 2023
1 parent 1784882 commit a040842
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,20 @@ export const RelativeValuesDefinitionForm: FC<Props> = ({
return (
<FormProvider {...form}>
<form onSubmit={onSubmit}>
<div className="space-y-2">
{withoutSlug ? null : (
<SlugFormField<FormShape>
name="slug"
label="Slug"
placeholder="my_definition"
/>
)}
<TextFormField<FormShape>
name="title"
label="Title"
placeholder="My definition"
/>
</div>
<div className="mt-4">
<Button onClick={onSubmit} theme="primary">
Save
Expand Down

0 comments on commit a040842

Please sign in to comment.