File tree 2 files changed +3
-2
lines changed
src/shared/components/Notifications
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import PropTypes from 'prop-types' ;
3
3
import cn from 'classnames' ;
4
- import { tracking } from 'topcoder-react-lib' ;
5
4
import styles from './style.scss' ;
6
5
7
6
@@ -21,7 +20,7 @@ export default class TabsPanel extends React.Component {
21
20
22
21
23
22
render ( ) {
24
- const { changeTab } = this . props ;
23
+ const { changeTab, tracking } = this . props ;
25
24
const { tab } = this . state ;
26
25
return (
27
26
< div className = { styles . container } >
@@ -106,4 +105,5 @@ export default class TabsPanel extends React.Component {
106
105
107
106
TabsPanel . propTypes = {
108
107
changeTab : PropTypes . func . isRequired ,
108
+ tracking : PropTypes . shape ( ) . isRequired ,
109
109
} ;
Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ export default class NotificationList extends React.Component {
184
184
< div className = { styles [ 'notifications-panel' ] } >
185
185
< TabsPanel
186
186
changeTab = { tab => this . setState ( { activeTab : tab } ) }
187
+ tracking = { tracking }
187
188
/>
188
189
< div className = { styles [ 'noti-body' ] } >
189
190
< Fragment key = "nonComplete" >
You can’t perform that action at this time.
0 commit comments