Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update add-folder-form.tsx

Tim Wilson3927e3a5b5be
diff --git a/apps/web/ui/folders/add-folder-form.tsx b/apps/web/ui/folders/add-folder-form.tsx
index 7331cead71..ac392a3e45 100644
--- a/apps/web/ui/folders/add-folder-form.tsx
+++ b/apps/web/ui/folders/add-folder-form.tsx
@@ -132,7 +132,6 @@ export const AddFolderForm = ({ onSuccess, onCancel }: AddFolderFormProps) => {
</span>
<textarea
className="mt-2 block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
- aria-invalid="true"
value={description}
maxLength={FOLDER_MAX_DESCRIPTION_LENGTH}
onChange={(e) => setDescription(e.target.value)}
@@ -144,8 +143,7 @@ export const AddFolderForm = ({ onSuccess, onCancel }: AddFolderFormProps) => {
}}
/>
<span className="text-content-subtle text-xs tabular-nums">
- {description?.toString().length || 0}/
- {FOLDER_MAX_DESCRIPTION_LENGTH}
+ {description?.length || 0}/{FOLDER_MAX_DESCRIPTION_LENGTH}
</span>
</label>
</div>