Skip to content

Commit 46c5b16

Browse files
author
saket sinha
committed
component to pure component
1 parent 9dca107 commit 46c5b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SortableElement/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function sortableElement(
1818
WrappedComponent,
1919
config = {withRef: false},
2020
) {
21-
return class WithSortableElement extends React.Component {
21+
return class WithSortableElement extends React.PureComponent {
2222
static displayName = provideDisplayName(
2323
'sortableElement',
2424
WrappedComponent,

0 commit comments

Comments
 (0)