Linting and Formatting

This commit is contained in:
Kartik Datrika
2026-03-23 16:41:58 +05:30
parent 727a0728ee
commit 2c87a39733
175 changed files with 16535 additions and 11532 deletions

View File

@@ -192,22 +192,16 @@ export const Button = ({
noTextPadding = isLinkType || noTextPadding;
let props = {};
if (href) {
props = {
...otherProps,
href: disabled ? undefined : href,
};
} else {
props = {
...otherProps,
type: otherProps.type || "button",
isPending: loading,
};
}
const props = href
? {
...otherProps,
href: disabled ? undefined : href,
}
: {
...otherProps,
type: otherProps.type || "button",
isPending: loading,
};
return (
<Component