mirror of
https://github.com/fergalmoran/xtreamium.git
synced 2025-12-22 09:41:33 +00:00
Creds sending done
This commit is contained in:
@@ -65,12 +65,12 @@ const Button = React.forwardRef<Ref, ButtonProps>(function Button(props, ref) {
|
||||
return !!icon || !!iconLeft || !!iconRight;
|
||||
}
|
||||
|
||||
console.warn(
|
||||
hasIcon() && !other["aria-label"] && !children,
|
||||
"Button",
|
||||
'You are using an icon button, but no "aria-label" attribute was found. Add an "aria-label" attribute to work as a label for screen readers.'
|
||||
);
|
||||
|
||||
if (hasIcon() && !other["aria-label"] && !children) {
|
||||
console.warn(
|
||||
"Button",
|
||||
'You are using an icon button, but no "aria-label" attribute was found. Add an "aria-label" attribute to work as a label for screen readers.'
|
||||
);
|
||||
}
|
||||
const IconLeft = iconLeft || icon;
|
||||
const IconRight = iconRight;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user