Add comment about not needing to use safeJson()
- Fix indentation in media.mjs
This commit is contained in:
parent
137c2f6d08
commit
ebface1749
3 changed files with 40 additions and 40 deletions
|
|
@ -126,6 +126,7 @@ const init = () => {
|
|||
};
|
||||
|
||||
const autocompleteOnSelect = async (suggestion) => {
|
||||
// Note: it's fine that this uses json instead of safeJson since it's infrequent and user-initiated
|
||||
const data = await json('https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find', {
|
||||
data: {
|
||||
text: suggestion.value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue