Remove the use of coordinates in the dashboard since we're not actually creating them.

This commit is contained in:
Eric Schultz 2021-02-03 19:22:50 -06:00 committed by Eric Schultz
parent 825feea620
commit ed177e03d6
2 changed files with 0 additions and 3 deletions

View file

@ -17,8 +17,6 @@ client.get('/nonprofits/' + app.nonprofit_id + '/dashboard_metrics')
})
var map = require('../../components/maps/cc_map')
var npo_coords = require('../../components/maps/npo_coordinates')()
map.init('all-npo-supporters', {center: npo_coords}, {npo_id: app.nonprofit.id})
var todos = require('../../components/todos')
appl.def('todos_action', '/dashboard_todos')

View file

@ -2,7 +2,6 @@
const flyd = require('flimflam/flyd') // for ajaxing /index_metrics, line 27
const request = require('../../../common/request') // for ajaxing /index_metrics
var map = require('../../../components/maps/cc_map')
var npo_coords = require('../../../components/maps/npo_coordinates')()
appl.def('supporters.selected', [])