forked from baron/baron-sso
code check 오류 수정
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user