Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 6500cae

Browse files
authored
chore: rename (#1325)
1 parent c92a789 commit 6500cae

File tree

19 files changed

+21
-23
lines changed

19 files changed

+21
-23
lines changed

src/containers/content/WorksContent/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { buildLog } from '@/utils/logger'
1212
import { bond } from '@/utils/mobx'
1313

1414
import Pagi from '@/widgets/Pagi'
15-
// import AvatarsGroup from '@/widgets/AvatarsGroup'
15+
// import Facepile from '@/widgets/Facepile'
1616

1717
import type { TStore } from './store'
1818

@@ -64,7 +64,7 @@ const WorksContentContainer: FC<TProps> = ({
6464
<Pagi margin={{ top: '60px', bottom: '80px' }} />
6565
{/* <PagiInfo>
6666
<PagiInfoTitle>活跃用户</PagiInfoTitle>
67-
<AvatarsGroup users={tmpUsers} total={10} showTotalNumber />
67+
<Facepile users={tmpUsers} total={10} showTotalNumber />
6868
</PagiInfo> */}
6969
</MainContent>
7070
{!isMobile && <RightSidebar showSidebar={showSidebar} />}

src/containers/thread/KanbanThread/Actions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ICON } from '@/config'
44
import { mockUsers } from '@/utils/mock'
55

66
import { IconSwitcher } from '@/widgets/Switcher'
7-
import AvatarsGroup from '@/widgets/AvatarsGroup'
7+
import Facepile from '@/widgets/Facepile'
88
import { Space } from '@/widgets/Common'
99

1010
import {
@@ -51,7 +51,7 @@ const Actions: FC = () => {
5151
</ModeWrapper>
5252
<Space right={20} />
5353
<JoinTitle>参与者</JoinTitle>
54-
<AvatarsGroup size="medium" users={mockUsers(6)} total={20} />
54+
<Facepile size="medium" users={mockUsers(6)} total={20} />
5555
{/* <Space right={25} /> */}
5656
{/* <NewButton size="medium">
5757
<BtnText>新增</BtnText>
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/widgets/AvatarsGroup/index.tsx renamed to src/widgets/Facepile/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
*
3-
* AvatarsGroup
3+
* Facepile
44
*
55
*/
66

@@ -49,7 +49,7 @@ export const RealAvatar = dynamic(() => import('./RealAvatar'), {
4949
})
5050

5151
/* eslint-disable-next-line */
52-
const log = buildLog('c:AvatarsGroup:index')
52+
const log = buildLog('c:Facepile:index')
5353

5454
const validUser = compose(not, isNil)
5555

@@ -83,7 +83,7 @@ export type TProps = {
8383
onTotalSelect?: () => void
8484
}
8585

86-
const AvatarsGroup: FC<TProps> = ({
86+
const Facepile: FC<TProps> = ({
8787
size = SIZE.SMALL,
8888
total = null,
8989
users = [],
@@ -151,4 +151,4 @@ const AvatarsGroup: FC<TProps> = ({
151151
)
152152
}
153153

154-
export default trackWindowScroll(AvatarsGroup)
154+
export default trackWindowScroll(Facepile)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)