From 245a0966068ecf1971aa2fec5ffb1a068de70b32 Mon Sep 17 00:00:00 2001 From: dahyeon Date: Sun, 7 Jun 2026 05:00:20 -0700 Subject: [PATCH] chore(web): hide api live indicator --- apps/web/src/App.tsx | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/apps/web/src/App.tsx b/apps/web/src/App.tsx index c5c84037..93ff7eab 100644 --- a/apps/web/src/App.tsx +++ b/apps/web/src/App.tsx @@ -1,22 +1,22 @@ -import { BrowserRouter, Link, Route, Routes } from 'react-router'; -import { useMsal } from '@azure/msal-react'; -import DevAuthSwitcher from './components/DevAuthSwitcher'; -import { DEFAULT_COMMUNITY_ID } from './config'; -import { useCommunity } from './api/hooks'; -import { isMsalConfigured } from './lib/auth/msal.config'; -import AuthCallbackPage from './pages/AuthCallback'; -import HomePage from './pages/HomePage'; -import LoginPage from './pages/Login'; -import MatchDetailPage from './pages/MatchDetailPage'; -import MatchTeamProgressPage from './pages/MatchTeamProgressPage'; -import AuctionPage from './pages/AuctionPage'; -import UserHistoryPage from './pages/UserHistoryPage'; -import CommunityInternalStatsPage from './pages/CommunityInternalStatsPage'; -import InternalMatchDetailPage from './pages/InternalMatchDetailPage'; -import LegacyImportPage from './pages/admin/LegacyImportPage'; -import LegacyMatchesPage from './pages/admin/LegacyMatchesPage'; -import MatchAdminPage from './pages/admin/MatchAdminPage'; -import TournamentCodesPage from './pages/admin/TournamentCodesPage'; +import { BrowserRouter, Link, Route, Routes } from "react-router"; +import { useMsal } from "@azure/msal-react"; +import DevAuthSwitcher from "./components/DevAuthSwitcher"; +import { DEFAULT_COMMUNITY_ID } from "./config"; +import { useCommunity } from "./api/hooks"; +import { isMsalConfigured } from "./lib/auth/msal.config"; +import AuthCallbackPage from "./pages/AuthCallback"; +import HomePage from "./pages/HomePage"; +import LoginPage from "./pages/Login"; +import MatchDetailPage from "./pages/MatchDetailPage"; +import MatchTeamProgressPage from "./pages/MatchTeamProgressPage"; +import AuctionPage from "./pages/AuctionPage"; +import UserHistoryPage from "./pages/UserHistoryPage"; +import CommunityInternalStatsPage from "./pages/CommunityInternalStatsPage"; +import InternalMatchDetailPage from "./pages/InternalMatchDetailPage"; +import LegacyImportPage from "./pages/admin/LegacyImportPage"; +import LegacyMatchesPage from "./pages/admin/LegacyMatchesPage"; +import MatchAdminPage from "./pages/admin/MatchAdminPage"; +import TournamentCodesPage from "./pages/admin/TournamentCodesPage"; function MsalHeaderActions() { const { accounts, instance } = useMsal(); @@ -43,7 +43,7 @@ function MsalHeaderActions() { function App() { const communityQuery = useCommunity(DEFAULT_COMMUNITY_ID); - const communityLabel = communityQuery.data?.name ?? 'LOLYMPUS'; + const communityLabel = communityQuery.data?.name ?? "LOLYMPUS"; return ( @@ -57,7 +57,7 @@ function App() { {communityLabel}
- {DEFAULT_COMMUNITY_ID ? ( + {/* {DEFAULT_COMMUNITY_ID ? ( API Live @@ -65,7 +65,7 @@ function App() { Set `VITE_DEFAULT_COMMUNITY_ID` - )} + )} */} {isMsalConfigured && }