mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
Fix lint errors
This commit is contained in:
@@ -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 =>
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -122,7 +122,7 @@ export function CategoryBudgetedCell({
|
||||
category: category.id,
|
||||
});
|
||||
showUndoNotification({
|
||||
message: t(`Budget set to last month’s budget.`),
|
||||
message: t(`Budget set to last month's budget.`),
|
||||
});
|
||||
setIsMenuOpen(false);
|
||||
}}
|
||||
|
||||
@@ -59,7 +59,7 @@ export function BalanceMovementMenu({
|
||||
<TransferMenu
|
||||
categoryId={categoryId}
|
||||
initialAmount={catBalance}
|
||||
showToBeBudgeted={true}
|
||||
showToBeBudgeted
|
||||
onSubmit={(amount, toCategoryId) => {
|
||||
onBudgetAction(month, 'transfer-category', {
|
||||
amount,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 },
|
||||
),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user