From 798467552e7ce2b6f5e601f5080a26fe46f04d07 Mon Sep 17 00:00:00 2001 From: SomeCodecat <88855796+SomeCodecat@users.noreply.github.com> Date: Tue, 13 May 2025 14:08:19 +0200 Subject: [PATCH] refactor: update labels and placeholders in login form inputs --- src/components/labeled-input.tsx | 9 +++++---- src/components/user/login-form.tsx | 8 +++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/components/labeled-input.tsx b/src/components/labeled-input.tsx index 7b4768a..7a416d4 100644 --- a/src/components/labeled-input.tsx +++ b/src/components/labeled-input.tsx @@ -6,23 +6,24 @@ export default function LabeledInput({ label, placeholder, value, + name, }: { type: 'text' | 'email' | 'password'; label: string; placeholder?: string; value?: string; + name?: string; }) { - const elementId = Math.random().toString(36).substring(2, 15); - return (