Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

remove decodeURI

Brian Caob697b34cc7e4
diff --git a/components/common/FilterLink.js b/components/common/FilterLink.js
index 8520b663b..9401cb132 100644
--- a/components/common/FilterLink.js
+++ b/components/common/FilterLink.js
@@ -2,7 +2,6 @@ import React from 'react';
import Link from 'next/link';
import classNames from 'classnames';
import usePageQuery from 'hooks/usePageQuery';
-import { safeDecodeURI } from 'lib/url';
import Icon from './Icon';
import External from 'assets/arrow-up-right-from-square.svg';
import styles from './FilterLink.module.css';
@@ -21,9 +20,7 @@ export default function FilterLink({ id, value, label, externalUrl }) {
[styles.active]: active && selected,
})}
>
- {(label && typeof label === 'string') ?? value
- ? safeDecodeURI(label || value)
- : label || value}
+ {label || value}
</a>
</Link>
{externalUrl && (