Skip to content

Commit

Permalink
fix(antd/next): remove FormButtonGroup.FormItem colon #1623
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Jun 22, 2021
1 parent 9ff0880 commit 4813754
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/antd/src/form-item/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export const BaseItem: React.FC<IFormItemProps> = (props) => {
}

const renderLabel = () => {
if (!label) return null
if (!label || label === ' ') return null
return (
<div
className={cls({
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/form-item/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export const BaseItem: React.FC<IFormItemProps> = (props) => {
}

const renderLabel = () => {
if (!label) return null
if (!label || label === ' ') return null
return (
<div
className={cls({
Expand Down

2 comments on commit 4813754

@MatriXiao88
Copy link

@MatriXiao88 MatriXiao88 commented on 4813754 Jun 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue的id引用错了,应该是1624

@janryWang
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue的id引用错了,应该是1624

哎,打错了,改不了了,就这样吧

Please sign in to comment.