Remove dead code

This commit is contained in:
Uku Taht 2021-06-29 15:13:30 +03:00
parent 06aaae6314
commit 574ec78653
2 changed files with 1 additions and 7 deletions

View File

@ -1,6 +1,6 @@
import React from 'react';
import { withRouter, Link } from 'react-router-dom'
import { countFilters, formattedFilters, navigateToQuery, removeQueryParam } from './query'
import { countFilters, formattedFilters, navigateToQuery } from './query'
import Datamap from 'datamaps'
import Transition from "../transition.js";

View File

@ -144,12 +144,6 @@ export function toHuman(query) {
}
}
export function removeQueryParam(search, parameter) {
const q = new URLSearchParams(search)
q.delete(parameter)
return q.toString()
}
export function eventName(query) {
if (query.filters.goal) {
if (query.filters.goal.startsWith('Visit ')) {