diff --git a/client/scripts/strict-baseline.json b/client/scripts/strict-baseline.json index 4e985d1dd..640af04d8 100644 --- a/client/scripts/strict-baseline.json +++ b/client/scripts/strict-baseline.json @@ -48,7 +48,6 @@ "src/components/Planner/DayPlanSidebar.tsx": 52, "src/components/Planner/DayPlanSidebarNoteModal.test.tsx": 1, "src/components/Planner/PlaceFormModal.test.tsx": 3, - "src/components/Planner/PlaceFormModal.tsx": 1, "src/components/Planner/PlaceInspector.tsx": 16, "src/components/Planner/PlacesBulkCategoryModal.test.tsx": 1, "src/components/Planner/PlacesSidebar.tsx": 1, diff --git a/client/src/components/Assistant/AssistantPlaceProposal.tsx b/client/src/components/Assistant/AssistantPlaceProposal.tsx index 1d4ccc1bb..9a4cdb2db 100644 --- a/client/src/components/Assistant/AssistantPlaceProposal.tsx +++ b/client/src/components/Assistant/AssistantPlaceProposal.tsx @@ -2,8 +2,8 @@ import type { AssistantChangePreview, AssistantPlanEdits } from '@trek/shared'; import { assistantPlanEditsSchema, parsePlaceHours, placeOpeningHoursSchema } from '@trek/shared'; import { useCallback, useEffect, useState } from 'react'; -import { useTranslation } from '../../i18n'; import { useIsPhone } from '../../hooks/useIsPhone'; +import { useTranslation } from '../../i18n'; import { useAssistantStore } from '../../store/assistantStore'; import { useTripStore } from '../../store/tripStore'; import PlaceFormModal from '../Planner/PlaceFormModal'; diff --git a/client/src/components/Planner/PlaceFormModal.tsx b/client/src/components/Planner/PlaceFormModal.tsx index 21c0b0cdb..13ba02dc7 100644 --- a/client/src/components/Planner/PlaceFormModal.tsx +++ b/client/src/components/Planner/PlaceFormModal.tsx @@ -544,9 +544,7 @@ function PlaceSearchFields({ state: S, fieldId }: { state: PlaceFormState; field onClick={() => { if (!form.name.trim()) handleChange('name', S.emptySearch!); S.setEmptySearch(null); - document - .getElementById(`${fieldId}-contact`) - ?.scrollIntoView?.({ behavior: 'smooth', block: 'center' }); + document.getElementById(`${fieldId}-contact`)?.scrollIntoView?.({ behavior: 'smooth', block: 'center' }); }} className="flex-none rounded-full bg-accent px-3 py-1.5 font-semibold text-accent-text hover:opacity-90" style={fs(12, 'body')} @@ -563,9 +561,7 @@ function PlaceSearchFields({ state: S, fieldId }: { state: PlaceFormState; field