mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Fix react warnings
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user