mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 13:38:40 +00:00
fix disabled button take 2
This commit is contained in:
parent
a5641aef03
commit
5de40b6bf5
@ -142,9 +142,8 @@ export function MiniRepl({
|
|||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
className={cx(
|
className={cx(
|
||||||
isDirty
|
'w-16 flex items-center justify-center p-1 text-foreground border-lineHighlight bg-lineHighlight',
|
||||||
? 'cursor-pointer w-16 flex items-center justify-center p-1 text-foreground bg-lineHighlight hover:bg-background'
|
isDirty ? 'text-foreground hover:bg-background cursor-pointer' : 'opacity-50 cursor-not-allowed',
|
||||||
: 'w-16 flex items-center justify-center p-1 opacity-50 cursor-not-allowed bg-lineHighlight',
|
|
||||||
)}
|
)}
|
||||||
onClick={() => activateCode()}
|
onClick={() => activateCode()}
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user