1
0
forked from baron/baron-sso

code check 오류 수정

This commit is contained in:
2026-04-09 16:45:26 +09:00
parent 06a6875cdb
commit c6ddf7c485
21 changed files with 83 additions and 36 deletions

View File

@@ -258,7 +258,7 @@ function ClientGeneralPage() {
return;
}
setLogoPreviewStatus("loading");
}, [hasLogoUrl, hasValidLogoUrl, trimmedLogoUrl]);
}, [hasLogoUrl, hasValidLogoUrl]);
const handleSecurityProfileChange = (profile: SecurityProfile) => {
setClientType(profile);
@@ -814,7 +814,9 @@ function ClientGeneralPage() {
<div
className={cn(
"flex h-20 w-20 shrink-0 items-center justify-center rounded-lg border-2 border-dashed",
hasLogoUrl && hasValidLogoUrl && logoPreviewStatus !== "error"
hasLogoUrl &&
hasValidLogoUrl &&
logoPreviewStatus !== "error"
? "bg-white"
: "bg-muted/40",
logoPreviewStatus === "error"
@@ -922,6 +924,7 @@ function ClientGeneralPage() {
</Label>
<Textarea
value={redirectUris}
onFocus={(e) => e.currentTarget.select()}
onChange={(e) => setRedirectUris(e.target.value)}
placeholder={t(
"ui.dev.clients.general.redirect.placeholder",