The account detail list renders from a static Inertia prop and no longer refetches, and filteredTransactions deliberately bypasses the account filter when scoped to a single account. So editing a transaction and moving it to a different account left the (now optimistically-updated) row visible in the wrong account's list until a full page reload. Add an explicit guard: when scoped to an account, drop any row whose account_id no longer matches. |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| layouts | ||
| lib | ||
| pages | ||
| providers | ||
| services | ||
| types | ||
| utils | ||
| app.tsx | ||
| ssr.tsx | ||