Handle nullable contact fields now that we don't send partial contacts

This commit is contained in:
Jack Kingsman
2026-02-12 00:17:37 -08:00
parent 8be5a22730
commit 4e2000087d
-4
View File
@@ -254,10 +254,6 @@ export function App() {
updated[idx] = { updated[idx] = {
...existing, ...existing,
...contact, ...contact,
name: contact.name ?? existing.name,
last_path: contact.last_path ?? existing.last_path,
lat: contact.lat ?? existing.lat,
lon: contact.lon ?? existing.lon,
}; };
return updated; return updated;
} }