린트 적용

This commit is contained in:
chan committed 2026-02-23 16:18:01 +09:00
1 parent 04938d7cd9
commit 68becb43bc
36 files changed
+1240 -1057

No files matched your search

@@ -100,7 +100,12 @@ const RoleSwitcher: FC = () => {
}}
>
{(
["super_admin", "tenant_admin", "rp_admin", "tenant_member"] as const
[
"super_admin",
"tenant_admin",
"rp_admin",
"tenant_member",
] as const
).map((role) => (
<button
key={role}
@@ -120,8 +125,12 @@ const RoleSwitcher: FC = () => {
alignItems: "center",
}}
>
<span>{roleLabels[role] ?? role.toUpperCase().replace("_", " ")}</span>
{currentRole === role && <span style={{ marginLeft: "8px" }}>✅</span>}
<span>
{roleLabels[role] ?? role.toUpperCase().replace("_", " ")}
</span>
{currentRole === role && (
<span style={{ marginLeft: "8px" }}>✅</span>
)}
</button>
))}
</div>