Fix lint errors

This commit is contained in:
Joel Jeremy Marquez
2026-01-12 10:00:55 -08:00
parent 5a8b3a0acc
commit 806d54720d
6 changed files with 4 additions and 13 deletions

View File

@@ -508,7 +508,7 @@ export function BudgetCategories({
onToggleVisibilty={group => {
onSaveGroup({
...group,
hidden: !!item.value.hidden ? false : true,
hidden: item.value.hidden ? false : true,
});
}}
onApplyBudgetTemplatesInGroup={group =>

View File

@@ -22,8 +22,6 @@ import {
separateGroups,
} from './util';
import { type BudgetComponents } from '.';
import { type DropPosition } from '@desktop-client/components/sort';
import { SchedulesProvider } from '@desktop-client/hooks/useCachedSchedules';
import { useCategories } from '@desktop-client/hooks/useCategories';

View File

@@ -122,7 +122,7 @@ export function CategoryBudgetedCell({
category: category.id,
});
showUndoNotification({
message: t(`Budget set to last months budget.`),
message: t(`Budget set to last month's budget.`),
});
setIsMenuOpen(false);
}}

View File

@@ -59,7 +59,7 @@ export function BalanceMovementMenu({
<TransferMenu
categoryId={categoryId}
initialAmount={catBalance}
showToBeBudgeted={true}
showToBeBudgeted
onSubmit={(amount, toCategoryId) => {
onBudgetAction(month, 'transfer-category', {
amount,

View File

@@ -543,13 +543,6 @@ export function IncomeGroupMonth({ month }: IncomeGroupMonthProps) {
);
}
type IncomeCategoryMonthProps = {
category: CategoryEntity;
isLast?: boolean;
month: string;
onShowActivity: (id: CategoryEntity['id'], month: string) => void;
onBudgetAction: (month: string, action: string, arg?: unknown) => void;
};
export function IncomeCategoryMonth({
category,
isLast,

View File

@@ -37,7 +37,7 @@ export function useCategoryMutations() {
notification: {
type: 'error',
message: t(
'Category {{name}} already exists in group (it may be hidden)',
'Category "{{name}}" already exists in group (it may be hidden)',
{ name },
),
},