mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-30 04:34:16 +02:00
Switch to BiomeJS (#306)
This commit is contained in:
@@ -5,8 +5,8 @@ import { useAtomValue } from 'jotai';
|
||||
import type { ReactNode } from 'react';
|
||||
import { openSettings } from '../commands/openSettings';
|
||||
import { CargoFeature } from './CargoFeature';
|
||||
import { PillButton } from './core/PillButton';
|
||||
import type { ButtonProps } from './core/Button';
|
||||
import { PillButton } from './core/PillButton';
|
||||
|
||||
const details: Record<
|
||||
LicenseCheckStatus['type'],
|
||||
@@ -52,10 +52,7 @@ function LicenseBadgeCmp() {
|
||||
}
|
||||
|
||||
return (
|
||||
<PillButton
|
||||
color={detail.color}
|
||||
onClick={() => openSettings.mutate('license')}
|
||||
>
|
||||
<PillButton color={detail.color} onClick={() => openSettings.mutate('license')}>
|
||||
{detail.label}
|
||||
</PillButton>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user