From 38116305ecf1c588a0771a240c05b51903999879 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 23 Jan 2026 17:19:23 +0530 Subject: [PATCH 1/4] feat: -rm upgrade button --- src/components/dashboard/NavBar.tsx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/components/dashboard/NavBar.tsx b/src/components/dashboard/NavBar.tsx index 41a315b1..9c76e00b 100644 --- a/src/components/dashboard/NavBar.tsx +++ b/src/components/dashboard/NavBar.tsx @@ -249,19 +249,6 @@ export const NavBar: React.FC = ({
{!isRecording ? ( <> - - - {t('navbar.upgrade.button')} - Date: Fri, 23 Jan 2026 17:24:27 +0530 Subject: [PATCH 2/4] chore: cleanup upgrade modal code --- src/components/dashboard/NavBar.tsx | 112 ---------------------------- 1 file changed, 112 deletions(-) diff --git a/src/components/dashboard/NavBar.tsx b/src/components/dashboard/NavBar.tsx index 9c76e00b..98f452f7 100644 --- a/src/components/dashboard/NavBar.tsx +++ b/src/components/dashboard/NavBar.tsx @@ -62,9 +62,7 @@ export const NavBar: React.FC = ({ const currentVersion = packageJson.version; - const [open, setOpen] = useState(false); const [latestVersion, setLatestVersion] = useState(null); - const [tab, setTab] = useState(0); const [isUpdateAvailable, setIsUpdateAvailable] = useState(false); const fetchLatestVersion = async (): Promise => { @@ -79,20 +77,6 @@ export const NavBar: React.FC = ({ } }; - const handleUpdateOpen = () => { - setOpen(true); - fetchLatestVersion(); - }; - - const handleUpdateClose = () => { - setOpen(false); - setTab(0); // Reset tab to the first tab - }; - - const handleUpdateTabChange = (event: React.SyntheticEvent, newValue: number) => { - setTab(newValue); - }; - const handleMenuOpen = (event: React.MouseEvent) => { setAnchorEl(event.currentTarget); }; @@ -197,7 +181,6 @@ export const NavBar: React.FC = ({