mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 09:33:19 +03:00
Remove dead code
This commit is contained in:
parent
06aaae6314
commit
574ec78653
@ -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";
|
||||
|
||||
|
@ -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 ')) {
|
||||
|
Loading…
Reference in New Issue
Block a user