fix: resolve linting issues in memory system

- Add key to #each block in MemoryBrowserPanel (ESLint)
- Replace .last() with .next_back() for better performance (Clippy)
- Format files with Prettier

Co-Authored-By: Hikari <hikari@nhcarrigan.com>
This commit is contained in:
2026-02-07 12:11:14 -08:00
committed by Naomi Carrigan
parent 89e99b1524
commit e397435dbe
3 changed files with 9 additions and 11 deletions
+4 -2
View File
@@ -144,12 +144,14 @@
{:else if memoryFiles.length === 0}
<div class="empty">
<p>No memory files found.</p>
<p class="hint">Memory files are created automatically as I learn from our conversations!</p>
<p class="hint">
Memory files are created automatically as I learn from our conversations!
</p>
</div>
{:else}
<div class="panel-layout">
<div class="file-list">
{#each memoryFiles as file}
{#each memoryFiles as file (file)}
<button
class="file-item"
class:active={selectedFile === file}