diff --git a/apps/st/src/pages/auth/login/ui/login-page.tsx b/apps/st/src/pages/auth/login/ui/login-page.tsx index 53711acd4..971ff2cfe 100644 --- a/apps/st/src/pages/auth/login/ui/login-page.tsx +++ b/apps/st/src/pages/auth/login/ui/login-page.tsx @@ -24,7 +24,7 @@ function LoginPage() { await authService.login({ userId, password }); try { await statisticsApi.refreshAllCommonCodes(); - } catch(error) { + } catch { console.error('로그인 실패'); } window.location.href = "/statistics"; diff --git a/apps/st/src/pages/statistics/ui/panels/three-stage-status-panel.tsx b/apps/st/src/pages/statistics/ui/panels/three-stage-status-panel.tsx index de90fca3a..ac914a93f 100644 --- a/apps/st/src/pages/statistics/ui/panels/three-stage-status-panel.tsx +++ b/apps/st/src/pages/statistics/ui/panels/three-stage-status-panel.tsx @@ -1,5 +1,7 @@ "use client"; +import { Fragment } from "react"; + import type { DashboardSearchParams } from "@/entities/statistics/model/dashboard/dashboard-interface"; import { useDashboardThreeStageStatus } from "@/entities/statistics/api/dashboard/dashboard-queries"; import { LoadingWithAnimation } from "@common/components"; @@ -83,7 +85,12 @@ export function ThreeStageStatusPanel({ params }: ThreeStageStatusPanelProps) {
-
+
{STEPS.map((step, index) => { const isChecked = checkedList[index]; const isCurrent = index === currentIndex; @@ -91,11 +98,8 @@ export function ThreeStageStatusPanel({ params }: ThreeStageStatusPanelProps) { const lineFilled = checkedList[index]; return ( -
-
+ +
{isCurrent && ( @@ -130,34 +134,32 @@ export function ThreeStageStatusPanel({ params }: ThreeStageStatusPanelProps) { )}
- - {!isLast && ( -
-
-
- )} +
+

+ {step.label} +

+

+ ({step.subLabel}) +

+
- -
-

- {step.label} -

-

- ({step.subLabel}) -

-
-
+ {!isLast && ( +
+
+
+ )} + ); })}