Skip to content

Commit

Permalink
feat: remove pureFunc from datatable
Browse files Browse the repository at this point in the history
  • Loading branch information
mfanselmo committed Aug 29, 2024
1 parent 8f3dfc7 commit e72a28a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/ui/src/DataTable/dataTableEnhancer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/
import { reduxForm } from "redux-form";
import { branch, compose, withProps } from "recompose";
import pureNoFunc from "../utils/pureNoFunc";
import { withRouter } from "react-router-dom";

/*
Expand All @@ -31,9 +30,6 @@ import { withRouter } from "react-router-dom";
understanding if it's possible.
*/
export default compose(
// Function to make sure we don't rerender unless there are changes
// in the params
branch(props => !props.alwaysRerender, pureNoFunc),
// form prop is needed for redux-form, but we are giving this prop as
// formName, so we need to rename it. Previously it was done in the withTableParams, but now
// it doesn't have it by default.
Expand Down

0 comments on commit e72a28a

Please sign in to comment.