From af5ff52a27aa1fabe8025360bd81cb57d3f4bb39 Mon Sep 17 00:00:00 2001 From: David Sichau Date: Mon, 8 Jun 2020 16:11:25 +0200 Subject: [PATCH] fixed code that increased package size if tree shaking is disabled (#24847) --- components/transfer/ListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/transfer/ListItem.tsx b/components/transfer/ListItem.tsx index 98931b517c..4082372bcb 100644 --- a/components/transfer/ListItem.tsx +++ b/components/transfer/ListItem.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import classNames from 'classnames'; -import { DeleteOutlined } from '@ant-design/icons'; +import DeleteOutlined from '@ant-design/icons/DeleteOutlined'; import { TransferItem, TransferLocale } from '.'; import defaultLocale from '../locale/default'; import Checkbox from '../checkbox';