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> <div>
<button <button
className={classNames( className={classNames(
"bg-default text-default dark:text-muted dark:bg-muted rounded-md p-3",
stylesClassname stylesClassname
? `bg-default dark:bg-muted rounded-md ${stylesClassname}` ? stylesClassname
: `bg-default dark:bg-muted text-default dark:text-muted rounded-md` : "bg-default text-default dark:text-muted dark:bg-muted rounded-md p-3"
)} )}
onClick={(event) => handleSubmit(event)} onClick={(event) => handleSubmit(event)}
disabled={!isProcessing} disabled={!isProcessing}