update classnames

connect-component
Ryukemeister 2023-10-05 13:39:31 +05:30
parent 51fa70b54d
commit 6b4e988718
1 changed files with 2 additions and 2 deletions

View File

@ -36,10 +36,10 @@ export function ConnectButton({
<div>
<button
className={classNames(
"bg-default text-default dark:text-muted dark:bg-muted rounded-md p-3",
"bg-default text-default dark:text-muted dark:bg-muted relative inline-flex h-9 items-center whitespace-nowrap rounded-md px-4 py-2.5 text-sm font-medium !shadow-none transition-colors disabled:cursor-not-allowed",
stylesClassname
? stylesClassname
: "bg-default text-default dark:text-muted dark:bg-muted rounded-md p-3"
: "bg-default text-default dark:text-muted dark:bg-muted rounded-md px-4 py-2.5 text-sm font-medium !shadow-none transition-colors disabled:cursor-not-allowed"
)}
onClick={(event) => handleSubmit(event)}
disabled={!isProcessing}