mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-01-01 17:52:10 +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 classNames from 'classnames';
|
||||||
|
|
||||||
|
import { omit } from 'functions';
|
||||||
|
|
||||||
import styles from './panel.scss';
|
import styles from './panel.scss';
|
||||||
import icons from './icons.scss';
|
import icons from './icons.scss';
|
||||||
|
|
||||||
@ -81,7 +83,7 @@ export class PanelBodyHeader extends Component {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={className} {...this.props}>
|
<div className={className} {...omit(this.props, Object.keys(PanelBodyHeader.propTypes))}>
|
||||||
{close}
|
{close}
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user