diff --git a/src/components/tab.jsx b/src/components/tab.jsx index e0c2f46eda7..7b71834650a 100644 --- a/src/components/tab.jsx +++ b/src/components/tab.jsx @@ -14,7 +14,7 @@ export function slugifyAndEncode(tabName) { export default function Tab({ tab }) { const { activeTab, setActiveTab } = useContext(TabContext); - const matchesTab = decodeURI(activeTab) === slugify(tab); + const matchesTab = decodeURIComponent(activeTab) === slugify(tab); return (