Between visits, mark which transactions arrived since the user last opened the list. The newest loaded created_at is remembered in localStorage; the value is frozen at mount to position the divider and rewritten afterwards so the line is gone on the next visit. firstSeenTransactionIndex() locates the boundary (first already-seen row) and the divider renders before it, gated to the default newest-first sort. No divider on first visit, when nothing is new, or on other sorts. |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| layouts | ||
| lib | ||
| pages | ||
| providers | ||
| services | ||
| types | ||
| utils | ||
| app.tsx | ||
| ssr.tsx | ||