From ec65c6a0ac15619699677423c9dbf773da506d43 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sat, 2 Aug 2025 16:29:19 +0200 Subject: [PATCH] Fix typing --- app/complete-profile/page.tsx | 2 +- app/components/dropdown.tsx | 4 +- app/profiles/ProfileFilters.tsx | 2 +- app/profiles/page.tsx | 4 +- package-lock.json | 550 ++++++++++++++++++++++++++++++-- package.json | 2 +- 6 files changed, 524 insertions(+), 40 deletions(-) diff --git a/app/complete-profile/page.tsx b/app/complete-profile/page.tsx index 100250a2..a20c183e 100644 --- a/app/complete-profile/page.tsx +++ b/app/complete-profile/page.tsx @@ -360,7 +360,7 @@ function RegisterComponent() { }; const genderOptions = Object.values(Gender); - const personalityOptions = Object.values(PersonalityType); + // const personalityOptions = Object.values(PersonalityType); const conflictOptions = Object.values(ConflictStyle); const headingStyle = "block text-sm font-medium text-gray-700 dark:text-white mb-1"; diff --git a/app/components/dropdown.tsx b/app/components/dropdown.tsx index a014e42e..eedbbf2f 100644 --- a/app/components/dropdown.tsx +++ b/app/components/dropdown.tsx @@ -15,7 +15,7 @@ type DropdownProps = { export default function Dropdown( { id, - options, + // options, value, onChange, onFocus, @@ -37,7 +37,7 @@ export default function Dropdown( />