From 9484a9ff56095da414edf53c02c9f7f5eb5e035e Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 30 Jul 2024 20:56:26 -0700 Subject: [PATCH] Fix: correctly decode tab names with special chars (#3797) --- src/components/tab.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (