Skip to content

Commit

Permalink
fix(List): use Component instead of PureComponent in ListItem (#1862)
Browse files Browse the repository at this point in the history
  • Loading branch information
St1ggy authored Sep 17, 2024
1 parent 226fbf0 commit 62072d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/List/components/ListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function getStyle(provided?: DraggableProvided, style?: React.CSSProperties) {
};
}

export class ListItem<T = unknown> extends React.PureComponent<ListItemProps<T>> {
export class ListItem<T = unknown> extends React.Component<ListItemProps<T>> {
private static publishEvent = eventBroker.withEventPublisher('List');

node: HTMLDivElement | null = null;
Expand Down

0 comments on commit 62072d6

Please sign in to comment.