names should be auto generated instead of descriptions + add default value to name field

This commit is contained in:
daniel31x13
2024-05-24 20:41:31 -04:00
parent cb50de96a3
commit bcb6aea119
5 changed files with 84 additions and 11 deletions
+2 -2
View File
@@ -155,7 +155,7 @@ export default function NewLinkModal({ onClose }: Props) {
<TextInput
value={link.name}
onChange={(e) => setLink({ ...link, name: e.target.value })}
placeholder="e.g. Example Link"
placeholder="Will be auto generated if left empty."
className="bg-base-200"
/>
</div>
@@ -177,7 +177,7 @@ export default function NewLinkModal({ onClose }: Props) {
onChange={(e) =>
setLink({ ...link, description: e.target.value })
}
placeholder="Will be auto generated if nothing is provided."
placeholder="Notes, thoughts, etc."
className="resize-none w-full rounded-md p-2 border-neutral-content bg-base-200 focus:border-primary border-solid border outline-none duration-100"
/>
</div>