fix: TypeScript 빌드 에러 수정 (#17)
All checks were successful
SPMS_BO/pipeline/head This commit looks good

Reviewed-on: https://git.ipstein.myds.me/SPMS/SPMS_WEB/pulls/18
This commit is contained in:
김선규 2026-02-27 05:22:25 +00:00
commit b1957b1bfc
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ function randomMessages() {
const statuses = ["완료", "완료", "완료", "실패", "진행", "예약"] as const; const statuses = ["완료", "완료", "완료", "실패", "진행", "예약"] as const;
const hours = ["09:00", "09:15", "10:30", "11:00", "14:00", "15:30", "18:00", "20:00"]; const hours = ["09:00", "09:15", "10:30", "11:00", "14:00", "15:30", "18:00", "20:00"];
return Array.from({ length: 5 }, (_, i) => ({ return Array.from({ length: 5 }, () => ({
template: templates[rand(0, templates.length - 1)], template: templates[rand(0, templates.length - 1)],
targetCount: fmt(rand(1, 50000)), targetCount: fmt(rand(1, 50000)),
status: statuses[rand(0, statuses.length - 1)], status: statuses[rand(0, statuses.length - 1)],

View File

@ -67,7 +67,7 @@ export default function PlatformStatusIndicator({
<AppleLogo className="w-3.5 h-3.5" /> <AppleLogo className="w-3.5 h-3.5" />
)} )}
</span> </span>
{hasIssue && credential.credentialStatus && ( {hasIssue && (credential.credentialStatus === "warn" || credential.credentialStatus === "error") && (
<> <>
<span <span
className={`absolute -top-1 -right-1 size-2.5 rounded-full border-2 border-white ${DOT_STYLES[credential.credentialStatus]}`} className={`absolute -top-1 -right-1 size-2.5 rounded-full border-2 border-white ${DOT_STYLES[credential.credentialStatus]}`}