From 624b488528051bfa6bab4cdd5df921a518d8aac5 Mon Sep 17 00:00:00 2001 From: Mahen Date: Thu, 19 Feb 2026 11:47:46 +0700 Subject: [PATCH] chore: set correct select default value --- src/components/dashboards/ProfileClient.tsx | 6 +++--- src/types/index.ts | 6 +++--- src/utils/const.ts | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/dashboards/ProfileClient.tsx b/src/components/dashboards/ProfileClient.tsx index ea270a8..1a240d0 100644 --- a/src/components/dashboards/ProfileClient.tsx +++ b/src/components/dashboards/ProfileClient.tsx @@ -20,10 +20,10 @@ export default async function ProfileClient() { diff --git a/src/types/index.ts b/src/types/index.ts index 5577880..6fdd95d 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -16,11 +16,11 @@ export interface ModelDB { export interface ProfileClientProps { name: string; bio?: string; - preferenceBrand: Brand; - preferenceOS: OS; + preferenceBrand: string; + preferenceOS: string; budgetMin: number; budgetMax: number; - profession: Profession; + profession: string; id?: number; } diff --git a/src/utils/const.ts b/src/utils/const.ts index 9101858..501b72b 100644 --- a/src/utils/const.ts +++ b/src/utils/const.ts @@ -33,6 +33,7 @@ export const professionItems = [ { value: "DESIGNER", label: "Designer", icon: Palette }, { value: "STUDENT", label: "Student", icon: Book }, { value: "GAMER", label: "Gamer", icon: GamepadDirectional }, + { value: "OTHER", label: "Other", icon: LucideCircleEllipsis }, ]; export const brandItems = [