fix: Positioning of editing toolbar on mobile devices (#6279)
This commit is contained in:
@@ -171,7 +171,7 @@ const Button = <T extends React.ElementType = "button">(
|
||||
danger,
|
||||
...rest
|
||||
} = props;
|
||||
const hasText = children !== undefined || value !== undefined;
|
||||
const hasText = !!children || value !== undefined;
|
||||
const ic = hideIcon ? undefined : action?.icon ?? icon;
|
||||
const hasIcon = ic !== undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user