mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-29 16:01:18 -07:00
update areaDetail with data from d3 CDN (#547)
* update areaDetail with data from d3 CDN - updated constants with d3 CDN info - placed AreaDetail component in folder - fixed J40Alert padding-left console warning - added tests for both J40Alert rendering * udpates FE to percentile data * testing CORS on PR'd URL * testing PR'd URL
This commit is contained in:
parent
c24e13c930
commit
d449e9c554
17 changed files with 85 additions and 40 deletions
|
@ -22,7 +22,7 @@ import {useFlags} from '../contexts/FlagContext';
|
|||
// Components:
|
||||
import TerritoryFocusControl from './territoryFocusControl';
|
||||
import MapInfoPanel from './mapInfoPanel';
|
||||
import AreaDetail from './areaDetail';
|
||||
import AreaDetail from './AreaDetail';
|
||||
|
||||
// Styles and constants
|
||||
import {makeMapStyle} from '../data/mapStyle';
|
||||
|
@ -104,7 +104,6 @@ const J40Map = ({location}: IJ40Interface) => {
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
const onLoad = () => {
|
||||
if (typeof window !== 'undefined' && window.Cypress && mapRef.current) {
|
||||
window.underlyingMap = mapRef.current.getMap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue