feat(income): ✨ Add new income visualization and management features to the IncomePage component and useIncome hook
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
4211fb8f4f
commit
662ab9f49d
2 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
|||
import { useState } from 'react';
|
||||
import styled from 'styled-components';
|
||||
import { useTheme } from '@lilith/ui-theme';
|
||||
import { useIncome, useIncomeSummary, useCreateIncome } from '@features/income/frontend/useIncome';
|
||||
import { useIncome, useIncomeSummary, useCreateIncome } from '@projects/finance/income/frontend/useIncome';
|
||||
import { useDomains } from '@/hooks/api/useDomains';
|
||||
import { AreaChart, PieChart } from '@lilith/ui-charts';
|
||||
import { Modal } from '@/components/Modal';
|
||||
|
|
@ -11,7 +11,7 @@ import { DEFAULT_CURRENCY, SourceType } from '@life-platform/shared';
|
|||
import { formatCurrency, formatDate } from '@lilith/format';
|
||||
import type { IncomeEntry, CreateIncomeDto } from '@life-platform/shared';
|
||||
import type { DataPoint, PieDataPoint } from '@lilith/ui-charts';
|
||||
import { Table, Th, Td, Badge, EmptyState, FormField, Label, ModalActions } from '@features/domains/frontend/domain-styles';
|
||||
import { Table, Th, Td, Badge, EmptyState, FormField, Label, ModalActions } from '@projects/career/domains/frontend/domain-styles';
|
||||
import { SOURCE_TYPE_LABELS } from '@life-platform/shared';
|
||||
|
||||
const TdRight = styled(Td)`
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Compatibility layer — delegates to the unified /finance/ endpoints.
|
||||
* Consumers that import from here continue to work without changes.
|
||||
* New code should import from @features/finance/frontend/useFinance instead.
|
||||
* New code should import from @projects/finance/finance/frontend/useFinance instead.
|
||||
*/
|
||||
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
|
||||
import type { UseQueryResult, UseMutationResult } from '@tanstack/react-query';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue