diff --git a/src/components/Componentes/question-sheet.tsx b/src/components/Componentes/question-sheet.tsx index 0aa7739..da943c6 100644 --- a/src/components/Componentes/question-sheet.tsx +++ b/src/components/Componentes/question-sheet.tsx @@ -650,10 +650,10 @@ export function QuestionSheet({ question, disabled }: QuestionSheetProps) { filteredOptions.map((option) => { const isSelected = isMulti ? localSelectedList.includes(option.id) || - localSelectedList.includes(option.value) || + localSelectedList.includes(String(option.value)) || localSelectedList.includes(option.id.split(".").pop() || "") : singleValue === option.id || - singleValue === option.value || + singleValue === String(option.value) || singleValue === option.id.split(".").pop() || option.id.endsWith(`.${singleValue}`); diff --git a/src/components/Componentes/slider-slide-one.tsx b/src/components/Componentes/slider-slide-one.tsx index 6380cc7..68985a2 100644 --- a/src/components/Componentes/slider-slide-one.tsx +++ b/src/components/Componentes/slider-slide-one.tsx @@ -50,9 +50,12 @@ export function SliderSlideOne({ index, totalSteps, onScrollToEnd }: SliderSlide const termsTitle = t["terms & conditions"] || "Terms & Conditions"; const welcomeText = - t[ + (t as Record)[ "Welcome to Habib Marriage. Please review our terms of service before proceeding. By registering and using this platform, you agree to these terms" ] || + t[ + "Dear user, while welcoming you to the Habib Marij application, please read the following rules and regulations carefully before using the services of this platform. Your registration and use of this application constitutes full acceptance of these rules." + ] || "Welcome to Habib Marriage. Please review our terms of service before proceeding. By registering and using this platform, you agree to these terms"; return (