diff --git a/public/locale/en.json b/public/locale/en.json index 161a1140fd5..1768903d45f 100644 --- a/public/locale/en.json +++ b/public/locale/en.json @@ -1047,6 +1047,7 @@ "has_domestic_healthcare_support": "Has domestic healthcare support?", "has_sari": "Has SARI (Severe Acute Respiratory illness)?", "health-profile": "Health Profile", + "health_profile": "Health Profile", "hearing": "We are hearing you...", "help_confirmed": "There is sufficient diagnostic and/or clinical evidence to treat this as a confirmed condition.", "help_differential": "One of a set of potential (and typically mutually exclusive) diagnoses asserted to further guide the diagnostic process and preliminary treatment.", diff --git a/src/components/Common/Charts/ObservationChart.tsx b/src/components/Common/Charts/ObservationChart.tsx index d210255a181..cb892d834ff 100644 --- a/src/components/Common/Charts/ObservationChart.tsx +++ b/src/components/Common/Charts/ObservationChart.tsx @@ -152,7 +152,7 @@ export const ObservationVisualizer = ({ {codeGroups.map((group, index) => (
No data available @@ -365,7 +365,7 @@ export const ObservationVisualizer = ({ details.note && (
{code.display}: diff --git a/src/components/Common/Charts/ObservationHistoryTable.tsx b/src/components/Common/Charts/ObservationHistoryTable.tsx index 240bfea2790..4a8fcee44d4 100644 --- a/src/components/Common/Charts/ObservationHistoryTable.tsx +++ b/src/components/Common/Charts/ObservationHistoryTable.tsx @@ -92,7 +92,7 @@ export const ObservationHistoryTable = ({ if (!data?.pages[0]?.results.length) { return ( -
+
No data available
); @@ -134,7 +134,7 @@ export const ObservationHistoryTable = ({ {name}
- + {observation.note} diff --git a/src/components/Common/ComboboxQuantityInput.tsx b/src/components/Common/ComboboxQuantityInput.tsx index 19674422d81..e28b246118e 100644 --- a/src/components/Common/ComboboxQuantityInput.tsx +++ b/src/components/Common/ComboboxQuantityInput.tsx @@ -120,7 +120,7 @@ export function ComboboxQuantityInput({ autoFocus={autoFocus} /> {selectedUnit && ( -
+
{selectedUnit.display}
)} diff --git a/src/components/Common/SearchByMultipleFields.tsx b/src/components/Common/SearchByMultipleFields.tsx index 531f5caf1b7..242266ae23e 100644 --- a/src/components/Common/SearchByMultipleFields.tsx +++ b/src/components/Common/SearchByMultipleFields.tsx @@ -365,7 +365,7 @@ const SearchByMultipleFields: React.FC = ({
diff --git a/src/components/Patient/PatientDetailsTab/ResourceRequests.tsx b/src/components/Patient/PatientDetailsTab/ResourceRequests.tsx index 0df4ec5b404..8180bd75bcd 100644 --- a/src/components/Patient/PatientDetailsTab/ResourceRequests.tsx +++ b/src/components/Patient/PatientDetailsTab/ResourceRequests.tsx @@ -25,17 +25,17 @@ import { ResourceRequest } from "@/types/resourceRequest/resourceRequest"; import { PatientProps } from "."; export const ResourceRequests = (props: PatientProps) => { - const { patientData, facilityId, id } = props; + const { patientData, facilityId, patientId } = props; const { t } = useTranslation(); const { data: resourceRequests, isLoading: loading } = useQuery({ - queryKey: ["resourceRequests", id], + queryKey: ["resourceRequests", patientId], queryFn: query(routes.listResourceRequests, { queryParams: { - related_patient: id, + related_patient: patientId, }, }), - enabled: !!id, + enabled: !!patientId, }); const getStatusBadge = (status: ResourceRequest["status"]) => { diff --git a/src/components/Patient/PatientDetailsTab/index.tsx b/src/components/Patient/PatientDetailsTab/index.tsx index c6bf06c8ce6..8e7de28b091 100644 --- a/src/components/Patient/PatientDetailsTab/index.tsx +++ b/src/components/Patient/PatientDetailsTab/index.tsx @@ -1,3 +1,4 @@ +import QuestionnaireResponsesList from "@/components/Facility/ConsultationDetails/QuestionnaireResponsesList"; import EncounterHistory from "@/components/Patient/PatientDetailsTab//EncounterHistory"; import { HealthProfileSummary } from "@/components/Patient/PatientDetailsTab//HealthProfileSummary"; import { Demography } from "@/components/Patient/PatientDetailsTab/Demography"; @@ -12,7 +13,7 @@ import { ResourceRequests } from "./ResourceRequests"; export interface PatientProps { facilityId: string; - id: string; + patientId: string; patientData: Patient; } @@ -66,7 +67,7 @@ export const facilityPatientTabs = [ }, { route: "updates", - component: Updates, + component: QuestionnaireResponsesList, }, { route: "resource_requests", diff --git a/src/components/Patient/PatientDetailsTab/patientUpdates.tsx b/src/components/Patient/PatientDetailsTab/patientUpdates.tsx index baabad49ed9..f82f1489fb5 100644 --- a/src/components/Patient/PatientDetailsTab/patientUpdates.tsx +++ b/src/components/Patient/PatientDetailsTab/patientUpdates.tsx @@ -16,7 +16,7 @@ import { QuestionnaireResponse } from "@/types/questionnaire/questionnaireRespon import { PatientProps } from "."; export const Updates = (props: PatientProps) => { - const { facilityId, id: patientId } = props; + const { facilityId, patientId } = props; const { t } = useTranslation(); return ( @@ -42,7 +42,7 @@ export const Updates = (props: PatientProps) => {
-
+
{t("no_update_available")}
@@ -63,7 +63,7 @@ export const Updates = (props: PatientProps) => {

@@ -72,11 +72,11 @@ export const Updates = (props: PatientProps) => { item.structured_responses, )}

-
+
{formatDateTime(item.created_date)}
-
+
by {item.created_by?.first_name || ""}{" "} {item.created_by?.last_name || ""} {` (${item.created_by?.user_type})`} diff --git a/src/components/Patient/PatientHome.tsx b/src/components/Patient/PatientHome.tsx index 373494a4a3f..e3b8e0b28d8 100644 --- a/src/components/Patient/PatientHome.tsx +++ b/src/components/Patient/PatientHome.tsx @@ -134,7 +134,7 @@ export const PatientHome = (props: { {Tab && ( )} diff --git a/src/components/Patient/PatientIndex.tsx b/src/components/Patient/PatientIndex.tsx index 20d5c345c23..e2c753e96df 100644 --- a/src/components/Patient/PatientIndex.tsx +++ b/src/components/Patient/PatientIndex.tsx @@ -140,9 +140,7 @@ export default function PatientIndex({ facilityId }: { facilityId: string }) {

{t("search_patients")}

-

- {t("search_patient_page_text")} -

+

{t("search_patient_page_text")}

@@ -168,7 +166,7 @@ export default function PatientIndex({ facilityId }: { facilityId: string }) {

{t("no_patient_record_found")}

-

+

{t("no_patient_record_text")}

diff --git a/src/components/Patient/PatientInfoCard.tsx b/src/components/Patient/PatientInfoCard.tsx index 4ec59158b5f..84e3336a15e 100644 --- a/src/components/Patient/PatientInfoCard.tsx +++ b/src/components/Patient/PatientInfoCard.tsx @@ -119,7 +119,7 @@ export default function PatientInfoCard(props: PatientInfoCardProps) {
- + Start Date @@ -129,7 +129,7 @@ export default function PatientInfoCard(props: PatientInfoCardProps) {
- + End Date @@ -140,7 +140,7 @@ export default function PatientInfoCard(props: PatientInfoCardProps) {
{props.encounter.external_identifier && (
- + Hospital Identifier @@ -186,7 +186,7 @@ export default function PatientInfoCard(props: PatientInfoCardProps) { key={index} className="flex items-center gap-2 text-sm" > - + {formatDateTime(history.moved_at)} @@ -227,7 +227,7 @@ export default function PatientInfoCard(props: PatientInfoCardProps) { key={index} className="flex items-center gap-2 text-sm" > - + {formatDateTime(history.moved_at)} diff --git a/src/components/Patient/allergy/AllergyTable.tsx b/src/components/Patient/allergy/AllergyTable.tsx index 2d5fc8f84be..8aaf982a91c 100644 --- a/src/components/Patient/allergy/AllergyTable.tsx +++ b/src/components/Patient/allergy/AllergyTable.tsx @@ -95,9 +95,7 @@ export function AllergyTable({ {allergy.note && ( -
- Notes -
+
Notes
{allergy.note}
diff --git a/src/components/Patient/allergy/list.tsx b/src/components/Patient/allergy/list.tsx index c255b1e490f..a4a91bae6a1 100644 --- a/src/components/Patient/allergy/list.tsx +++ b/src/components/Patient/allergy/list.tsx @@ -40,7 +40,6 @@ export function AllergyList({ queryKey: ["allergies", patientId, encounterId], queryFn: query(allergyIntoleranceApi.getAllergy, { pathParams: { patientId }, - queryParams: encounterId ? { encounter: encounterId } : undefined, }), }); @@ -75,7 +74,7 @@ export function AllergyList({ encounterId={encounterId} > -

{t("no_allergies_recorded")}

+

{t("no_allergies_recorded")}

); diff --git a/src/components/Patient/diagnosis/list.tsx b/src/components/Patient/diagnosis/list.tsx index 10d3a9d2d5d..40ae25b3faf 100644 --- a/src/components/Patient/diagnosis/list.tsx +++ b/src/components/Patient/diagnosis/list.tsx @@ -64,7 +64,7 @@ export function DiagnosisList({ encounterId={encounterId} > -

{t("no_diagnoses_recorded")}

+

{t("no_diagnoses_recorded")}

); diff --git a/src/components/Patient/symptoms/list.tsx b/src/components/Patient/symptoms/list.tsx index 5034364e078..d095b851330 100644 --- a/src/components/Patient/symptoms/list.tsx +++ b/src/components/Patient/symptoms/list.tsx @@ -63,7 +63,7 @@ export function SymptomsList({ encounterId={encounterId} > -

{t("no_symptoms_recorded")}

+

{t("no_symptoms_recorded")}

); diff --git a/src/components/Questionnaire/CloneQuestionnaireSheet.tsx b/src/components/Questionnaire/CloneQuestionnaireSheet.tsx index 9b95c751731..3a61ce1910a 100644 --- a/src/components/Questionnaire/CloneQuestionnaireSheet.tsx +++ b/src/components/Questionnaire/CloneQuestionnaireSheet.tsx @@ -147,7 +147,7 @@ export default function CloneQuestionnaireSheet({ )) ) : ( -

+

No organizations selected

)} @@ -180,7 +180,7 @@ export default function CloneQuestionnaireSheet({ {org.name} {org.description && ( - + - {org.description} )} diff --git a/src/components/Questionnaire/ManageQuestionnaireOrganizationsSheet.tsx b/src/components/Questionnaire/ManageQuestionnaireOrganizationsSheet.tsx index 22c589dbb87..8d405641b04 100644 --- a/src/components/Questionnaire/ManageQuestionnaireOrganizationsSheet.tsx +++ b/src/components/Questionnaire/ManageQuestionnaireOrganizationsSheet.tsx @@ -152,7 +152,7 @@ export default function ManageQuestionnaireOrganizationsSheet({ {!isLoading && (!selectedOrganizations || selectedOrganizations.length === 0) && ( -

+

{t("no_organizations_selected")}

)} @@ -185,7 +185,7 @@ export default function ManageQuestionnaireOrganizationsSheet({ {org.name} {org.description && ( - + - {org.description} )} diff --git a/src/components/Questionnaire/ManageQuestionnaireTagsSheet.tsx b/src/components/Questionnaire/ManageQuestionnaireTagsSheet.tsx index 6f7918d2214..0ace0998366 100644 --- a/src/components/Questionnaire/ManageQuestionnaireTagsSheet.tsx +++ b/src/components/Questionnaire/ManageQuestionnaireTagsSheet.tsx @@ -175,9 +175,7 @@ export default function ManageQuestionnaireTagsSheet({ ))} {!isLoading && (!selectedTags || selectedTags.length === 0) && ( -

- {t("no_tags_selected")} -

+

{t("no_tags_selected")}

)}
diff --git a/src/components/Questionnaire/QuestionTypes/AppointmentQuestion.tsx b/src/components/Questionnaire/QuestionTypes/AppointmentQuestion.tsx index 7f30558df4f..ee9174f00e7 100644 --- a/src/components/Questionnaire/QuestionTypes/AppointmentQuestion.tsx +++ b/src/components/Questionnaire/QuestionTypes/AppointmentQuestion.tsx @@ -150,7 +150,7 @@ export function AppointmentQuestion({ slotsQuery.data.results.length === 0) && selectedDate && resource ? ( -
+
{t("no_slots_available")}
) : ( diff --git a/src/components/Questionnaire/QuestionTypes/DateTimeQuestion.tsx b/src/components/Questionnaire/QuestionTypes/DateTimeQuestion.tsx index 9fa2e201157..b8aafb2e1df 100644 --- a/src/components/Questionnaire/QuestionTypes/DateTimeQuestion.tsx +++ b/src/components/Questionnaire/QuestionTypes/DateTimeQuestion.tsx @@ -99,7 +99,7 @@ export function DateTimeQuestion({ variant="outline" className={cn( "flex-1 justify-start text-left font-normal", - !currentValue && "text-muted-foreground", + !currentValue && "text-gray-500", classes, )} disabled={disabled} diff --git a/src/components/Questionnaire/QuestionTypes/DiagnosisQuestion.tsx b/src/components/Questionnaire/QuestionTypes/DiagnosisQuestion.tsx index b4aab2c07c4..f40485d97c0 100644 --- a/src/components/Questionnaire/QuestionTypes/DiagnosisQuestion.tsx +++ b/src/components/Questionnaire/QuestionTypes/DiagnosisQuestion.tsx @@ -46,6 +46,7 @@ import { interface DiagnosisQuestionProps { patientId: string; + encounterId: string; questionnaireResponse: QuestionnaireResponse; updateQuestionnaireResponseCB: ( values: ResponseValue[], @@ -84,6 +85,7 @@ function convertToDiagnosisRequest(diagnosis: Diagnosis): DiagnosisRequest { export function DiagnosisQuestion({ patientId, + encounterId, questionnaireResponse, updateQuestionnaireResponseCB, disabled, @@ -96,6 +98,7 @@ export function DiagnosisQuestion({ queryFn: query(diagnosisApi.listDiagnosis, { pathParams: { patientId }, queryParams: { + encounter: encounterId, limit: 100, }, }), diff --git a/src/components/Questionnaire/QuestionTypes/MedicationRequestQuestion.tsx b/src/components/Questionnaire/QuestionTypes/MedicationRequestQuestion.tsx index fb2fb85fd54..f9ff069f431 100644 --- a/src/components/Questionnaire/QuestionTypes/MedicationRequestQuestion.tsx +++ b/src/components/Questionnaire/QuestionTypes/MedicationRequestQuestion.tsx @@ -78,6 +78,7 @@ interface MedicationRequestQuestionProps { note?: string, ) => void; disabled?: boolean; + encounterId: string; } export function MedicationRequestQuestion({ @@ -85,6 +86,7 @@ export function MedicationRequestQuestion({ updateQuestionnaireResponseCB, disabled, patientId, + encounterId, }: MedicationRequestQuestionProps) { const medications = (questionnaireResponse.values?.[0]?.value as MedicationRequest[]) || []; @@ -94,6 +96,7 @@ export function MedicationRequestQuestion({ queryFn: query(medicationRequestApi.list, { pathParams: { patientId }, queryParams: { + encounter: encounterId, limit: 100, }, }), diff --git a/src/components/Questionnaire/QuestionTypes/MedicationStatementQuestion.tsx b/src/components/Questionnaire/QuestionTypes/MedicationStatementQuestion.tsx index 936a2b3b0b3..f56be1b82dc 100644 --- a/src/components/Questionnaire/QuestionTypes/MedicationStatementQuestion.tsx +++ b/src/components/Questionnaire/QuestionTypes/MedicationStatementQuestion.tsx @@ -61,6 +61,7 @@ import { Question } from "@/types/questionnaire/question"; interface MedicationStatementQuestionProps { patientId: string; + encounterId: string; question: Question; questionnaireResponse: QuestionnaireResponse; updateQuestionnaireResponseCB: ( @@ -90,6 +91,7 @@ export function MedicationStatementQuestion({ updateQuestionnaireResponseCB, disabled, patientId, + encounterId, }: MedicationStatementQuestionProps) { const { t } = useTranslation(); const desktopLayout = useBreakpoints({ lg: true, default: false }); @@ -110,6 +112,7 @@ export function MedicationStatementQuestion({ pathParams: { patientId }, queryParams: { limit: 100, + encounter: encounterId, }, }), }); diff --git a/src/components/Questionnaire/QuestionTypes/QuestionGroup.tsx b/src/components/Questionnaire/QuestionTypes/QuestionGroup.tsx index aeb8704b699..d38be63abcb 100644 --- a/src/components/Questionnaire/QuestionTypes/QuestionGroup.tsx +++ b/src/components/Questionnaire/QuestionTypes/QuestionGroup.tsx @@ -130,9 +130,7 @@ export const QuestionGroup = memo(function QuestionGroup({
{question.description && ( -

- {question.description} -

+

{question.description}

)}
)} diff --git a/src/components/Questionnaire/QuestionTypes/QuestionInput.tsx b/src/components/Questionnaire/QuestionTypes/QuestionInput.tsx index 16957d63c68..deec52da280 100644 --- a/src/components/Questionnaire/QuestionTypes/QuestionInput.tsx +++ b/src/components/Questionnaire/QuestionTypes/QuestionInput.tsx @@ -115,15 +115,45 @@ export function QuestionInput({ case "structured": switch (question.structured_type) { case "medication_request": - return ; + if (encounterId) { + return ( + + ); + } + return null; case "medication_statement": - return ; + if (encounterId) { + return ( + + ); + } + return null; case "allergy_intolerance": return ; case "symptom": - return ; + if (encounterId) { + return ( + + ); + } + return null; case "diagnosis": - return ; + if (encounterId) { + return ( + + ); + } + return null; case "appointment": return ; case "encounter": @@ -131,8 +161,8 @@ export function QuestionInput({ return ( ); } diff --git a/src/components/Questionnaire/QuestionTypes/SymptomQuestion.tsx b/src/components/Questionnaire/QuestionTypes/SymptomQuestion.tsx index 94eba927251..0a175ae9219 100644 --- a/src/components/Questionnaire/QuestionTypes/SymptomQuestion.tsx +++ b/src/components/Questionnaire/QuestionTypes/SymptomQuestion.tsx @@ -47,6 +47,7 @@ import { interface SymptomQuestionProps { patientId: string; + encounterId: string; questionnaireResponse: QuestionnaireResponse; updateQuestionnaireResponseCB: ( values: ResponseValue[], @@ -281,6 +282,7 @@ export function SymptomQuestion({ questionnaireResponse, updateQuestionnaireResponseCB, disabled, + encounterId, }: SymptomQuestionProps) { const symptoms = (questionnaireResponse.values?.[0]?.value as SymptomRequest[]) || []; @@ -291,6 +293,7 @@ export function SymptomQuestion({ pathParams: { patientId }, queryParams: { limit: 100, + encounter: encounterId, }, }), }); diff --git a/src/components/Questionnaire/QuestionnaireEditor.tsx b/src/components/Questionnaire/QuestionnaireEditor.tsx index ada4383307f..22f4a701058 100644 --- a/src/components/Questionnaire/QuestionnaireEditor.tsx +++ b/src/components/Questionnaire/QuestionnaireEditor.tsx @@ -154,9 +154,7 @@ export default function QuestionnaireEditor({ id }: QuestionnaireEditorProps) {

Edit Questionnaire

-

- {questionnaire.description} -

+

{questionnaire.description}

@@ -348,7 +348,7 @@ export default function ResourceCreate(props: ResourceProps) {

{t("contact_information")}

-

+

{t("contact_information_description")}

diff --git a/src/components/Resource/ResourceDetails.tsx b/src/components/Resource/ResourceDetails.tsx index 8308935f197..b2ec9e613f4 100644 --- a/src/components/Resource/ResourceDetails.tsx +++ b/src/components/Resource/ResourceDetails.tsx @@ -38,7 +38,7 @@ function PatientCard({ patient }: { patient: PatientModel }) {

{t("name")}

-

{patient.name}

+

{patient.name}

@@ -61,12 +61,12 @@ function PatientCard({ patient }: { patient: PatientModel }) {
) : ( -

--

+

--

)}

{t("address")}

-

+

{[patient.address].filter(Boolean).join(", ") || "--"}

@@ -93,7 +93,7 @@ function FacilityCard({

{t("name")}

-

+

{facilityData?.name || "--"}

@@ -265,7 +265,7 @@ export default function ResourceDetails(props: { id: string }) {

{t("category")}

-

+

{RESOURCE_CATEGORY_CHOICES.find( (item) => item.id === data.category, )?.text || "--"} @@ -273,7 +273,7 @@ export default function ResourceDetails(props: { id: string }) {

{t("contact_person")}

-

+

{data.referring_facility_contact_name || "--"}

@@ -297,7 +297,7 @@ export default function ResourceDetails(props: { id: string }) {
) : ( -

--

+

--

)}
@@ -306,7 +306,7 @@ export default function ResourceDetails(props: { id: string }) {

{t("reason")}

-

+

{data.reason || "--"}

@@ -340,20 +340,20 @@ export default function ResourceDetails(props: { id: string }) { {data.created_by && (

{t("created_by")}

-

+

{formatName(data.created_by)}

-

+

{formatDateTime(data.created_date)}

)}

{t("last_modified_by")}

-

+

{formatName(data.updated_by)}

-

+

{formatDateTime(data.modified_date)}

diff --git a/src/components/ui/chart.tsx b/src/components/ui/chart.tsx index 11a65a13e9d..6ff21377000 100644 --- a/src/components/ui/chart.tsx +++ b/src/components/ui/chart.tsx @@ -50,7 +50,7 @@ const ChartContainer = React.forwardRef< data-chart={chartId} ref={ref} className={cn( - "flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none", + "flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-gray-500 [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none", className, )} {...props} diff --git a/src/components/ui/date-picker.tsx b/src/components/ui/date-picker.tsx index 32d23132362..e8c5587fe2e 100644 --- a/src/components/ui/date-picker.tsx +++ b/src/components/ui/date-picker.tsx @@ -29,7 +29,7 @@ export function DatePicker({ date, onChange, disabled }: DatePickerProps) { variant="outline" className={cn( "w-full justify-start text-left font-normal", - !date && "text-muted-foreground", + !date && "text-gray-500", )} > diff --git a/src/components/ui/date-range-picker.tsx b/src/components/ui/date-range-picker.tsx index 18e467c58b0..ffbbf482bce 100644 --- a/src/components/ui/date-range-picker.tsx +++ b/src/components/ui/date-range-picker.tsx @@ -37,7 +37,7 @@ export function DateRangePicker({ variant={"outline"} className={cn( "justify-center text-left font-normal", - !date && "text-muted-foreground", + !date && "text-gray-500", )} > diff --git a/src/components/ui/date-time-picker.tsx b/src/components/ui/date-time-picker.tsx index 26c93552596..4603f606434 100644 --- a/src/components/ui/date-time-picker.tsx +++ b/src/components/ui/date-time-picker.tsx @@ -68,7 +68,7 @@ export function DateTimePicker({ variant="outline" className={cn( "w-full justify-start text-left font-normal", - !value && "text-muted-foreground", + !value && "text-gray-500", )} > diff --git a/src/components/ui/textarea.tsx b/src/components/ui/textarea.tsx index 9deb3cf02ec..cb3d1045e6c 100644 --- a/src/components/ui/textarea.tsx +++ b/src/components/ui/textarea.tsx @@ -9,7 +9,7 @@ const Textarea = React.forwardRef< return (