Files
finance/src/components/MainContent.astro
Peter Wood 1d540d1731 style: apply Biome formatting to Astro templates and CSS (#27)
- Standardize HTML/CSS formatting
- Fix template indentation
- Apply consistent style to Astro components
- Update component attributes formatting

Part of #27
2025-05-04 10:00:14 -04:00

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>