Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
naogify committed Jun 20, 2024
1 parent 35936a0 commit de300b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const renderGeoloniaMap = () => {
try {
renderSingleMap(item.target);
} catch (e) {
// Not throw error because, following maps will not be rendered.
console.error('[Geolonia] Failed to initialize map', e); // eslint-disable-line
}
observer.unobserve(item.target);
Expand All @@ -89,6 +90,7 @@ export const renderGeoloniaMap = () => {
try {
renderSingleMap(containers[i]);
} catch (e) {
// Not throw error because, following maps will not be rendered.
console.error('[Geolonia] Failed to initialize map', e); // eslint-disable-line
}
}
Expand Down

0 comments on commit de300b5

Please sign in to comment.