Skip to content

Commit

Permalink
fix: convert organize columns component to purecomponent (#1653)
Browse files Browse the repository at this point in the history
Minor drop in the bucket against #1650, reduces at least some of the
re-rendering.
  • Loading branch information
dsmmcken authored Nov 20, 2023
1 parent c6c1e12 commit 8ddc114
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ChangeEvent, Component, ReactElement } from 'react';
import React, { ChangeEvent, PureComponent, ReactElement } from 'react';
import classNames from 'classnames';
import {
GridUtils,
Expand Down Expand Up @@ -71,7 +71,7 @@ interface VisibilityOrderingBuilderState {
searchFilter: string;
}

class VisibilityOrderingBuilder extends Component<
class VisibilityOrderingBuilder extends PureComponent<
VisibilityOrderingBuilderProps,
VisibilityOrderingBuilderState
> {
Expand Down

0 comments on commit 8ddc114

Please sign in to comment.