fix: loader not show

This commit is contained in:
TaurusXin 2024-07-25 10:37:23 +08:00
parent 50f87c3b77
commit ff240ae44c
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ const Panel: React.FC = () => {
onClick={handleCheck}
disabled={checkDisabled}
>
{checkDisabled ?? <Loader2 className="mr-2 h-4 w-4 animate-spin" />}
{checkDisabled && <Loader2 className="mr-2 h-4 w-4 animate-spin" />}
Check
</Button>
</div>