fix disabled button
This commit is contained in:
parent
66fba947ac
commit
e9d577496b
1 changed files with 2 additions and 2 deletions
|
|
@ -143,8 +143,8 @@ export function MiniRepl({
|
|||
<button
|
||||
className={cx(
|
||||
isDirty
|
||||
? 'cursor-pointer w-16 flex items-center justify-center p-1 border-r border-lineHighlight text-foreground bg-lineHighlight hover:bg-background'
|
||||
: 'w-16 flex items-center justify-center p-1 opacity-50 cursor-not-allowed border-r border-lineHighlight',
|
||||
? 'cursor-pointer w-16 flex items-center justify-center p-1 text-foreground bg-lineHighlight hover:bg-background'
|
||||
: 'w-16 flex items-center justify-center p-1 opacity-50 cursor-not-allowed bg-lineHighlight',
|
||||
)}
|
||||
onClick={() => activateCode()}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue