From d2f88491b14c27249190e0c8e74a7ace50db6abf Mon Sep 17 00:00:00 2001
From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
Date: Tue, 9 Jul 2024 14:36:55 -0500
Subject: [PATCH] Various UI tweaks and changes (#12364)
---
web/src/components/navigation/Sidebar.tsx | 6 +++++-
web/src/components/player/HlsVideoPlayer.tsx | 2 +-
web/src/pages/SubmitPlus.tsx | 2 +-
web/src/views/live/LiveBirdseyeView.tsx | 2 +-
web/src/views/live/LiveCameraView.tsx | 2 +-
5 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/web/src/components/navigation/Sidebar.tsx b/web/src/components/navigation/Sidebar.tsx
index 35a02d7dc..27ea9805c 100644
--- a/web/src/components/navigation/Sidebar.tsx
+++ b/web/src/components/navigation/Sidebar.tsx
@@ -5,9 +5,12 @@ import { useLocation } from "react-router-dom";
import GeneralSettings from "../menu/GeneralSettings";
import AccountSettings from "../menu/AccountSettings";
import useNavigation from "@/hooks/use-navigation";
+import { baseUrl } from "@/api/baseUrl";
+import { useMemo } from "react";
function Sidebar() {
const location = useLocation();
+ const basePath = useMemo(() => new URL(baseUrl).pathname, []);
const navbarLinks = useNavigation();
@@ -18,7 +21,8 @@ function Sidebar() {