Skip to content

Commit

Permalink
apply prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jiji14 committed Mar 19, 2024
1 parent a6c0f81 commit a5a8367
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion www/js/components/LeafletView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ const LeafletView = ({ geojson, opts, downscaleTiles, cacheHtml, ...otherProps }
dangerouslySetInnerHTML={
/* this is not 'dangerous' here because the content is not user-generated;
it's just an HTML string that we cached from a previous render */
cacheHtml && leafletCache?.has(mapElId) ? { __html: leafletCache.get(mapElId) } : undefined
cacheHtml && leafletCache?.has(mapElId)
? { __html: leafletCache.get(mapElId) }
: undefined
}
/>
</View>
Expand Down

0 comments on commit a5a8367

Please sign in to comment.