diff --git a/fluxer_app/src/components/pages/OAuthAuthorizePage.module.css b/fluxer_app/src/components/pages/OAuthAuthorizePage.module.css index a6900beb..9551b484 100644 --- a/fluxer_app/src/components/pages/OAuthAuthorizePage.module.css +++ b/fluxer_app/src/components/pages/OAuthAuthorizePage.module.css @@ -63,6 +63,7 @@ gap: 1rem; align-items: center; padding: 0.875rem 1rem; + padding-left: 0; border-radius: 0.75rem; background: none; border: none; diff --git a/fluxer_app/src/components/pages/OAuthAuthorizePage.tsx b/fluxer_app/src/components/pages/OAuthAuthorizePage.tsx index f3dd6b43..b48c7a02 100644 --- a/fluxer_app/src/components/pages/OAuthAuthorizePage.tsx +++ b/fluxer_app/src/components/pages/OAuthAuthorizePage.tsx @@ -370,16 +370,6 @@ const OAuthAuthorizePage: React.FC = observer(() => { const appName = publicApp?.name?.trim(); const clientLabel = appName || t`This application`; - const appAvatarUrl = useMemo(() => { - if (!publicApp?.id || !publicApp.icon) { - return null; - } - const url = AvatarUtils.getUserAvatarURL({id: publicApp.id, avatar: publicApp.icon}, false); - return url ?? null; - }, [publicApp?.icon, publicApp?.id]); - - const appInitial = clientLabel.charAt(0).toUpperCase(); - const formattedPermissions = useMemo(() => { if (!hasBotScope || !authParams?.permissions) return authParams?.permissions ?? undefined; return formatBotPermissionsQuery(Array.from(selectedPermissions ?? [])); @@ -587,16 +577,6 @@ const OAuthAuthorizePage: React.FC = observer(() => {
-
- - {!appAvatarUrl && {appInitial}} -

Configure bot permissions @@ -724,17 +704,6 @@ const OAuthAuthorizePage: React.FC = observer(() => { )}
-
- - {!appAvatarUrl && {appInitial}} -
-

Authorization request