Fix lint problems

This commit is contained in:
Gregory Schier
2024-12-03 09:43:16 -08:00
parent 88bcfb9e66
commit 40f0f5387a
12 changed files with 30 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ const labels: Record<LicenseCheckStatus['type'], string | null> = {
};
export function LicenseBadge() {
const openSettings = useOpenSettings();
const openSettings = useOpenSettings(SettingsTab.License);
const { check } = useLicense();
if (check.data == null) {
@@ -29,7 +29,7 @@ export function LicenseBadge() {
size="2xs"
variant="border"
className="!rounded-full mx-1"
onClick={() => openSettings.mutate(SettingsTab.License)}
onClick={() => openSettings.mutate()}
color={
check.data.type == 'trial_ended' || check.data.type === 'personal_use'
? 'primary'