Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit32b4b77

Browse files
authored
fix: useExternalImage for external auth providers (#15572)
1 parentf3e1dd8 commit32b4b77

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎site/src/pages/UserSettingsPage/ExternalAuthPage/ExternalAuthPageView.tsx‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import type {
2020
ListUserExternalAuthResponse,
2121
}from"api/typesGenerated";
2222
import{ErrorAlert}from"components/Alert/ErrorAlert";
23-
import{Avatar}from"components/Avatar/Avatar";
23+
import{Avatar,ExternalAvatar}from"components/Avatar/Avatar";
2424
import{AvatarData}from"components/AvatarData/AvatarData";
2525
import{Loader}from"components/Loader/Loader";
2626
import{
@@ -152,7 +152,12 @@ const ExternalAuthRow: FC<ExternalAuthRowProps> = ({
152152
:(link?.authenticated??false);
153153

154154
letavatar=app.display_icon ?(
155-
<Avatarsrc={app.display_icon}variant="square"fitImagesize="sm"/>
155+
<ExternalAvatar
156+
src={app.display_icon}
157+
size="sm"
158+
variant="square"
159+
fitImage
160+
/>
156161
) :(
157162
<Avatar>{name}</Avatar>
158163
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp