fix and update
This commit is contained in:
@@ -56,7 +56,7 @@ function OAuthAuthorizeContent() {
|
||||
const clientLabel = clientName ?? consentInfo?.client?.name ?? 'Приложение';
|
||||
|
||||
useEffect(() => {
|
||||
if (!clientId) return;
|
||||
if (!clientId || isLoading) return;
|
||||
let cancelled = false;
|
||||
void fetchOAuthClientPublicInfo(clientId)
|
||||
.then((info) => {
|
||||
@@ -68,7 +68,7 @@ function OAuthAuthorizeContent() {
|
||||
return () => {
|
||||
cancelled = true;
|
||||
};
|
||||
}, [clientId]);
|
||||
}, [clientId, isLoading]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!searchParams.has('userId')) return;
|
||||
|
||||
Reference in New Issue
Block a user