Skip to content

Commit 963eca8

Browse files
committed
improvement(reskin-profile): hide the tco badge
1 parent efc5274 commit 963eca8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/shared/components/ProfilePage/index.jsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import styles from './styles.scss';
2323
import Skills from './Skills';
2424
import MemberInfo from './MemberInfo';
2525
import Activity from './Activity';
26+
// import Awards from './Awards';
2627

2728
/**
2829
* Inspects a subtrack and determines if the member is active
@@ -148,6 +149,7 @@ class ProfilePage extends React.Component {
148149
lookupData,
149150
handleParam,
150151
meta,
152+
// rewards,
151153
} = this.props;
152154

153155
const {
@@ -224,6 +226,11 @@ class ProfilePage extends React.Component {
224226
</div>
225227
</div>
226228
</div>
229+
{/* { */}
230+
{/* (rewards || []).length ? ( */}
231+
{/* <Awards rewards={rewards} /> */}
232+
{/* ) : null */}
233+
{/* } */}
227234
<Activity
228235
memberStats={stats}
229236
hasMM={hasMM}
@@ -280,6 +287,7 @@ ProfilePage.defaultProps = {
280287
challenges: null,
281288
skills: null,
282289
stats: null,
290+
// rewards: [],
283291
};
284292

285293
ProfilePage.propTypes = {
@@ -293,6 +301,7 @@ ProfilePage.propTypes = {
293301
lookupData: PT.shape().isRequired,
294302
handleParam: PT.string.isRequired,
295303
meta: PT.shape().isRequired,
304+
// rewards: PT.arrayOf(PT.shape()),
296305
clearSubtrackChallenges: PT.func.isRequired,
297306
};
298307

0 commit comments

Comments
 (0)