fix: install flow: wrong org team avatars (#15334)

This commit is contained in:
Amit Sharma authored and GitHub committed 2024-06-05 13:10:31 +00:00
1 parent e8a02554b6
commit c28fab4fe2
2 files changed
+28 -11

No files matched your search

@@ -55,7 +55,7 @@ const AccountSelector: FC<AccountSelectorProps> = ({
export type PersonalAccountProps = Pick<User, "id" | "avatar" | "name"> & { alreadyInstalled: boolean };
export type TeamsProp = (Pick<Team, "id" | "name" | "logo"> & {
export type TeamsProp = (Pick<Team, "id" | "name" | "logoUrl"> & {
alreadyInstalled: boolean;
})[];
@@ -85,7 +85,7 @@ export const AccountsStepCard: FC<AccountStepCardProps> = ({ teams, personalAcco
key={team.id}
testId={`install-app-button-team${team.id}`}
alreadyInstalled={team.alreadyInstalled}
avatar={team.logo ?? ""}
avatar={team.logoUrl ?? ""}
name={team.name}
onClick={() => onSelect(team.id)}
loading={loading}