MCPcopy Create free account
hub / github.com/ImGoodBai/MapGoGoGo / applyPlace

Function applyPlace

frontend/src/App.tsx:415–420  ·  view source on GitHub ↗
(next: SelectedPlace)

Source from the content-addressed store, hash-verified

413 const canCreate = name.trim().length >= 2 && place.name.trim().length > 0;
414
415 function applyPlace(next: SelectedPlace) {
416 setPlace(next);
417 if (!name.trim() || name.startsWith("一起点亮")) {
418 setName(`一起点亮${next.name}`);
419 }
420 }
421
422 async function searchPlaces() {
423 const keyword = query.trim();

Callers 2

useCurrentLocationFunction · 0.85
CreateViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected