diff --git a/components/button/button.tsx b/components/button/button.tsx
index 47c8b2bf50c4..02b741a74d77 100644
--- a/components/button/button.tsx
+++ b/components/button/button.tsx
@@ -25,7 +25,7 @@ import { isTwoCNChar, isUnBorderedButtonType, spaceChildren } from './buttonHelp
import IconWrapper from './IconWrapper';
import LoadingIcon from './LoadingIcon';
import useStyle from './style';
-import CompactStyle from './style/compactCmp';
+import CompactCmp from './style/compactCmp';
export type LegacyButtonType = ButtonType | 'danger';
@@ -289,7 +289,7 @@ const InternalButton: React.ForwardRefRenderFunction<
{kids}
{/* Styles: compact */}
- {compactItemClassnames &&