fix classNames styling

connect-component
Ryukemeister 2023-10-05 12:34:17 +05:30
parent 7ea09f3c6f
commit 51fa70b54d
1 changed files with 3 additions and 2 deletions

View File

@ -36,9 +36,10 @@ export function ConnectButton({
<div>
<button
className={classNames(
"bg-default text-default dark:text-muted dark:bg-muted rounded-md p-3",
stylesClassname
? `bg-default dark:bg-muted rounded-md ${stylesClassname}`
: `bg-default dark:bg-muted text-default dark:text-muted rounded-md`
? stylesClassname
: "bg-default text-default dark:text-muted dark:bg-muted rounded-md p-3"
)}
onClick={(event) => handleSubmit(event)}
disabled={!isProcessing}