Merge branch 'main' of github.com:acedanger/finance

This commit is contained in:
GitHub Copilot
2025-05-05 07:05:00 -04:00
21 changed files with 1728 additions and 353 deletions

View File

@@ -5,6 +5,8 @@ import { currentAccountId as currentAccountIdStore, refreshKey } from '../stores
import type { Account } from '../types';
import { formatCurrency } from '../utils';
type AccountSummaryProps = {};
export default function AccountSummary() {
const currentAccountId = useStore(currentAccountIdStore);
const refreshCounter = useStore(refreshKey);

View File

@@ -1,4 +1,5 @@
import { useStore } from '@nanostores/react';
import { useStore } from '@nanostores/react';
import React, { useState, useEffect } from 'react';
import {
currentAccountId as currentAccountIdStore,
@@ -9,7 +10,9 @@ import {
import type { Transaction } from '../types';
import { formatCurrency, formatDate } from '../utils';
export default function TransactionTable() {
type TransactionTableProps = {};
export default function TransactionTable({}: TransactionTableProps) {
const currentAccountId = useStore(currentAccountIdStore);
const refreshCounter = useStore(refreshKey);