Skip to content

Commit 4d7e0ed

Browse files
authored
fix: team avatar select (#5542)
1 parent 3fb1ff2 commit 4d7e0ed

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

projects/app/src/pageComponents/account/team/context.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { useUserStore } from '@/web/support/user/useUserStore';
1313
import type { TeamTmbItemType, TeamMemberItemType } from '@fastgpt/global/support/user/team/type';
1414
import { useRequest2 } from '@fastgpt/web/hooks/useRequest';
1515
import { useTranslation } from 'next-i18next';
16-
import { useScrollPagination } from '@fastgpt/web/hooks/useScrollPagination';
1716
import { useRouter } from 'next/router';
1817

1918
const EditInfoModal = dynamic(() => import('./EditInfoModal'));

projects/app/src/pages/account/team/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const Team = () => {
139139
setEditTeamData({
140140
id: userInfo.team.teamId,
141141
name: userInfo.team.teamName,
142-
avatar: userInfo.team.avatar,
142+
avatar: userInfo.team.teamAvatar,
143143
notificationAccount: userInfo.team.notificationAccount
144144
});
145145
}}

0 commit comments

Comments
 (0)