diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 8177b51..15466af 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -31,7 +31,7 @@ export default function App() {
- } /> + z} /> } /> } /> } /> diff --git a/frontend/src/pages/HomePage.tsx b/frontend/src/pages/HomePage.tsx index 4ab16a4..76632df 100644 --- a/frontend/src/pages/HomePage.tsx +++ b/frontend/src/pages/HomePage.tsx @@ -1,5 +1,6 @@ -import { useNavigate } from "react-router-dom"; +import { Navigate, useNavigate } from "react-router-dom"; import { useAppState } from "./app/ui/state"; +import { isElectron } from "./app/electron/electron"; function GitHubLink({ children }: { children: React.ReactNode }) { return ( @@ -23,7 +24,11 @@ export default function HomePage() { } else { navigate("/login"); } - }; + } + + if (isElectron) { + return ; + } return (