From aeff4fd5055867387f407293b41e0f9924a653f6 Mon Sep 17 00:00:00 2001 From: Josh LeBlanc Date: Wed, 25 Sep 2019 13:35:14 -0300 Subject: [PATCH] remove unused theme prop --- src/MUIDataTable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MUIDataTable.js b/src/MUIDataTable.js index 2ac681e08..09e081577 100644 --- a/src/MUIDataTable.js +++ b/src/MUIDataTable.js @@ -1214,7 +1214,7 @@ class MUIDataTable extends React.Component { } render() { - const { classes, theme, className, title } = this.props; + const { classes, className, title } = this.props; const { announceText, activeColumn, @@ -1354,4 +1354,4 @@ class MUIDataTable extends React.Component { } } -export default withStyles(defaultTableStyles, { name: 'MUIDataTable', withTheme: true })(MUIDataTable); +export default withStyles(defaultTableStyles, { name: 'MUIDataTable' })(MUIDataTable);