mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-29 16:30:54 +05:30
Fix react warnings
This commit is contained in:
parent
32496e99d9
commit
64637d6e6b
@ -2,6 +2,8 @@ import React, { Component, PropTypes } from 'react';
|
||||
|
||||
import classNames from 'classnames';
|
||||
|
||||
import { omit } from 'functions';
|
||||
|
||||
import styles from './panel.scss';
|
||||
import icons from './icons.scss';
|
||||
|
||||
@ -81,7 +83,7 @@ export class PanelBodyHeader extends Component {
|
||||
});
|
||||
|
||||
return (
|
||||
<div className={className} {...this.props}>
|
||||
<div className={className} {...omit(this.props, Object.keys(PanelBodyHeader.propTypes))}>
|
||||
{close}
|
||||
{children}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user