mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 01:28:55 +00:00
fix(ci): repair strict types and empty dashboard card
Keep the dashboard card class when it spans all columns. Match the place form payload to the service-stop placement type and make dialog card hints optional. Document the independent receipt copy and format the files flagged by CI.
This commit is contained in:
@@ -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
|
||||
<button
|
||||
key={idx}
|
||||
type="button"
|
||||
onClick={() =>
|
||||
handleSelectMapsResult(result, { mode: 'search', rank: idx, count: mapsResults.length })
|
||||
}
|
||||
onClick={() => handleSelectMapsResult(result, { mode: 'search', rank: idx, count: mapsResults.length })}
|
||||
className={`${PICK_ROW} hover:bg-surface-hover`}
|
||||
>
|
||||
<span className="min-w-0 flex-1">
|
||||
|
||||
Reference in New Issue
Block a user