Skip to content

Commit 2209f71

Browse files
author
Tomasz John
committed
update: unused vars removed from CToastHeader
1 parent 466c8f5 commit 2209f71

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/CToastHeader.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const CToastHeader = props=>{
1313
cssModule,
1414
//
1515
innerRef,
16-
//closeButton,
1716
...attributes
1817
} = props;
1918

@@ -35,13 +34,11 @@ CToastHeader.propTypes = {
3534
className: PropTypes.string,
3635
cssModule: PropTypes.object,
3736
//
38-
innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.string, PropTypes.object]),
39-
//closeButton: PropTypes.bool
37+
innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.string, PropTypes.object])
4038
};
4139

4240
CToastHeader.defaultProps = {
43-
tag: 'div',
44-
//closeButton: true
41+
tag: 'div'
4542
};
4643

4744
export default CToastHeader;

0 commit comments

Comments
 (0)