fix disabled button

This commit is contained in:
Felix Roos 2023-02-28 22:48:06 +01:00
parent 66fba947ac
commit e9d577496b

View File

@ -143,8 +143,8 @@ export function MiniRepl({
<button <button
className={cx( className={cx(
isDirty isDirty
? 'cursor-pointer w-16 flex items-center justify-center p-1 border-r border-lineHighlight text-foreground bg-lineHighlight hover:bg-background' ? '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 border-r border-lineHighlight', : 'w-16 flex items-center justify-center p-1 opacity-50 cursor-not-allowed bg-lineHighlight',
)} )}
onClick={() => activateCode()} onClick={() => activateCode()}
> >