(props: MapProps)
| 203 | } |
| 204 | |
| 205 | export function ChallengeMap(props: MapProps) { |
| 206 | if (props.config?.has_amap) { |
| 207 | return <AmapView {...props} />; |
| 208 | } |
| 209 | return <MockMap {...props} />; |
| 210 | } |
| 211 | |
| 212 | function AmapView({ |
| 213 | config, |
nothing calls this directly
no outgoing calls
no test coverage detected