mirror of
https://github.com/acedanger/finance.git
synced 2025-12-06 07:00:13 -08:00
- Standardize HTML/CSS formatting - Fix template indentation - Apply consistent style to Astro components - Update component attributes formatting Part of #27
16 lines
408 B
Plaintext
16 lines
408 B
Plaintext
---
|
|
import type { Account } from '../types';
|
|
import TransactionTable from './TransactionTable.tsx';
|
|
|
|
interface Props {
|
|
account: Account;
|
|
}
|
|
|
|
const { account } = Astro.props;
|
|
---
|
|
<main class="main-content">
|
|
<header class="main-header">
|
|
<h1>Transactions for <span id="current-account-name">{account.name} (***{account.last4})</span></h1>
|
|
</header>
|
|
<TransactionTable client:load />
|
|
</main> |