Skip to content

Commit c48dbd1

Browse files
committed
ah
1 parent 23db1ce commit c48dbd1

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,7 @@ const ExternalAuthRow: FC<ExternalAuthRowProps> = ({
131131
<TableCell>
132132
<AvatarData
133133
title={name}
134-
avatar={
135-
app.display_icon && (
136-
<Avatar src={app.display_icon} variant="square" fitImage />
137-
)
138-
}
134+
avatar={<Avatar src={app.display_icon} variant="square" fitImage />}
139135
/>
140136
</TableCell>
141137
<TableCell>

site/src/testHelpers/renderHelpers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ type RenderHookWithAuthOptions<Props> = Partial<
121121
*
122122
* @see {@link https://github.com/coder/coder/pull/10362#discussion_r1380852725}
123123
*/
124-
export async function renderHookWithAuth<Props, Result>(
124+
export async function renderHookWithAuth<Result, Props>(
125125
render: (initialProps: Props) => Result,
126126
options: RenderHookWithAuthOptions<Props> = {},
127127
) {

0 commit comments

Comments
 (0)