diff --git a/app/[profile]/page.tsx b/app/[profile]/page.tsx index 56ed7de..c367251 100644 --- a/app/[profile]/page.tsx +++ b/app/[profile]/page.tsx @@ -30,7 +30,7 @@ export default async function ProfilePage({ params }) { diff --git a/components/ui/avatar.tsx b/components/ui/avatar.tsx index 5b14cb8..0591788 100644 --- a/components/ui/avatar.tsx +++ b/components/ui/avatar.tsx @@ -10,7 +10,7 @@ const Avatar = React.forwardRef< >(({ className, ...props }, ref) => ( )); @@ -20,7 +20,7 @@ const AvatarImage = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( - + )); AvatarImage.displayName = AvatarPrimitive.Image.displayName; @@ -30,7 +30,7 @@ const AvatarFallback = React.forwardRef< >(({ className, ...props }, ref) => ( )); diff --git a/components/ui/dropdown-menu.tsx b/components/ui/dropdown-menu.tsx index 62fc185..aa9c656 100644 --- a/components/ui/dropdown-menu.tsx +++ b/components/ui/dropdown-menu.tsx @@ -100,7 +100,7 @@ const DropdownMenuCheckboxItem = React.forwardRef< )} checked={checked} {...props}> - + @@ -121,7 +121,7 @@ const DropdownMenuRadioItem = React.forwardRef< className )} {...props}> - + diff --git a/components/ui/toast.tsx b/components/ui/toast.tsx index 419a24d..5805752 100644 --- a/components/ui/toast.tsx +++ b/components/ui/toast.tsx @@ -71,7 +71,7 @@ const ToastClose = React.forwardRef< )} toast-close="" {...props}> - + )); ToastClose.displayName = ToastPrimitives.Close.displayName; diff --git a/components/user-name-form.tsx b/components/user-name-form.tsx index 7702b7e..5966845 100644 --- a/components/user-name-form.tsx +++ b/components/user-name-form.tsx @@ -21,7 +21,7 @@ interface UserNameFormProps extends React.HTMLAttributes { type FormData = z.infer; -export function UserNameForm({ user, ...props }: UserNameFormProps) { +export function UserNameForm({ user, className, ...props }: UserNameFormProps) { const router = useRouter(); const { handleSubmit, @@ -50,7 +50,7 @@ export function UserNameForm({ user, ...props }: UserNameFormProps) { } return ( -
+ Your Name @@ -68,33 +68,12 @@ export function UserNameForm({ user, ...props }: UserNameFormProps) { - - - - API keys - Add and remobe API keys - - -
- - - {errors?.name &&

{errors.name.message}

} -
-
- - - -
); } diff --git a/package.json b/package.json index b004b64..3c59c95 100644 --- a/package.json +++ b/package.json @@ -68,4 +68,4 @@ "tailwindcss": "^3.4.1", "typescript": "^5" } -} +} \ No newline at end of file