From 62072d6ceb9e22f9c5a2b66f66881d47d1cacefc Mon Sep 17 00:00:00 2001 From: Dmitrii Bragin <dnbragin@outlook.com> Date: Tue, 17 Sep 2024 19:22:01 +0300 Subject: [PATCH] fix(List): use Component instead of PureComponent in ListItem (#1862) --- src/components/List/components/ListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/List/components/ListItem.tsx b/src/components/List/components/ListItem.tsx index 6394038817..6807caba0a 100644 --- a/src/components/List/components/ListItem.tsx +++ b/src/components/List/components/ListItem.tsx @@ -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;