diff --git a/src/components/labeled-input.tsx b/src/components/labeled-input.tsx index af8879e..7b4768a 100644 --- a/src/components/labeled-input.tsx +++ b/src/components/labeled-input.tsx @@ -1,4 +1,5 @@ import { Input } from '@/components/ui/input'; +import { Label } from '@/components/ui/label'; export default function LabeledInput({ type, @@ -11,17 +12,17 @@ export default function LabeledInput({ placeholder?: string; value?: string; }) { - const randomId = Math.random().toString(36).substring(2, 15); + const elementId = Math.random().toString(36).substring(2, 15); return ( -
- +
+
); diff --git a/src/components/user/login-form.tsx b/src/components/user/login-form.tsx index 47e1945..20438e8 100644 --- a/src/components/user/login-form.tsx +++ b/src/components/user/login-form.tsx @@ -3,7 +3,7 @@ import { Button } from '@/components/ui/button'; export default function LoginForm() { return ( -
+