From 7382da8595e86230c03dab93aec726cd02cc91ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20S=C3=A1rai?= Date: Thu, 5 Mar 2026 10:27:40 +0100 Subject: [PATCH] fix(sidebar): use swarm-desktop GitHub link when running in desktop mode (#724) --- src/components/SideBar.tsx | 8 ++++++-- src/constants.ts | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/SideBar.tsx b/src/components/SideBar.tsx index 5826e47..5ecfed9 100644 --- a/src/components/SideBar.tsx +++ b/src/components/SideBar.tsx @@ -14,7 +14,7 @@ import { makeStyles } from 'tss-react/mui' import DashboardLogo from '../assets/dashboard-logo.svg' import DesktopLogo from '../assets/desktop-logo.svg' -import { BEE_DOCS_HOST, GITHUB_BEE_DASHBOARD_URL } from '../constants' +import { BEE_DOCS_HOST, GITHUB_BEE_DASHBOARD_URL, GITHUB_BEE_DESKTOP_URL } from '../constants' import { Context as BeeContext } from '../providers/Bee' import { Context as SettingsContext } from '../providers/Settings' import { ROUTES } from '../routes' @@ -136,7 +136,11 @@ export default function SideBar(): ReactElement { - + } iconEnd={} diff --git a/src/constants.ts b/src/constants.ts index 3651232..2a8faac 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -6,6 +6,7 @@ export const BEE_DOCS_HOST = 'https://docs.ethswarm.org/docs/' export const BEE_DISCORD_HOST = 'https://discord.gg/eKr9XPv7' export const GITHUB_REPO_URL = 'https://api.github.com/repos/ethersphere/bee' export const GITHUB_BEE_DASHBOARD_URL = 'https://github.com/ethersphere/bee-dashboard.git' +export const GITHUB_BEE_DESKTOP_URL = 'https://github.com/ethersphere/bee-desktop.git' export const BEE_DESKTOP_LATEST_RELEASE_PAGE = 'https://github.com/ethersphere/bee-desktop/releases/latest' export const BEE_DESKTOP_LATEST_RELEASE_PAGE_API = 'https://api.github.com/repos/ethersphere/bee-desktop/releases/latest'