From 70a8b5a9e1c08055b23b2397e9ca5ded512e05f9 Mon Sep 17 00:00:00 2001 From: Sammers21 Date: Sun, 21 Apr 2024 00:22:21 +0300 Subject: [PATCH] releasef fix the null specs --- frontend/src/components/Header/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Header/index.tsx b/frontend/src/components/Header/index.tsx index 5fa7ab24..d03830cd 100644 --- a/frontend/src/components/Header/index.tsx +++ b/frontend/src/components/Header/index.tsx @@ -73,7 +73,7 @@ const Header = () => { activity, bracket, }); - if (specs !== undefined) { + if (specs !== undefined && specs !== null) { newPath = newPath + "?specs=" + specs; } navigate(newPath);