mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
Fix some rebasing conflicts
This commit is contained in:
@@ -66,7 +66,7 @@ export function fetchDomain () {
|
||||
|
||||
let tagsPromise
|
||||
if (process.env.features.USE_TAGS) {
|
||||
tagsPromise = fetch(TAG_TREE_URL)
|
||||
tagsPromise = fetch(TAG_URL)
|
||||
.then(response => response.json())
|
||||
.catch(handleError('tags'))
|
||||
}
|
||||
@@ -164,14 +164,6 @@ export function updateTagFilters(tag) {
|
||||
}
|
||||
}
|
||||
|
||||
export const UPDATE_NARRATIVE = 'UPDATE_NARRATIVE';
|
||||
export function updateNarrative(narrative) {
|
||||
return {
|
||||
type: UPDATE_NARRATIVE,
|
||||
narrative
|
||||
}
|
||||
}
|
||||
|
||||
export const UPDATE_TIMERANGE = 'UPDATE_TIMERANGE';
|
||||
export function updateTimeRange(timerange) {
|
||||
return {
|
||||
@@ -264,11 +256,3 @@ export function fetchSourceError(msg) {
|
||||
msg
|
||||
}
|
||||
}
|
||||
|
||||
export const TOGGLE_MAPVIEW = 'TOGGLE_MAPVIEW';
|
||||
export function toggleMapView(layer) {
|
||||
return {
|
||||
type: TOGGLE_MAPVIEW,
|
||||
layer
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user