diff --git a/src/components/tab.jsx b/src/components/tab.jsx index e0c2f46ed..7b7183465 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 (