Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 095df6b

Browse files
committed
Merge branch 'develop'
2 parents 65886db + fbc3a84 commit 095df6b

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
import DefaultUserAvatar from 'assets/images/default-user-avatar.svg';
22
import React from 'react';
33
import { themr } from 'react-css-super-themr';
4-
import { Avatar } from 'topcoder-react-utils';
4+
import { Avatar as ProtoAvatar } from 'topcoder-react-utils';
55

66
import theme from './style.scss';
77

8-
export default themr('Avatar', theme)(props =>
9-
<Avatar DefaultAvatar={DefaultUserAvatar} {...props} />);
8+
function Avatar(props) {
9+
return <ProtoAvatar DefaultAvatar={DefaultUserAvatar} {...props} />;
10+
}
11+
12+
export default themr('Avatar', theme)(Avatar);

src/styles/mixins.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@import "_mixins/variables";
2-
@import "../../node_modules/topcoder-react-utils/src/styles/mixins";
2+
@import "~topcoder-react-utils/src/styles/mixins";
33
@import "_mixins/typography";

0 commit comments

Comments
 (0)