400ff993d2e0ba58e060d04384d10030453bbd79
useBerthPatch invalidated ['berths', berthId] (plural+id), but the berth detail page reads ['berth', berthId] (singular+id). Cache key never matched, so the PATCH landed in the DB but the visible field reverted to its pre-edit value on re-render. Realtime invalidation covered for it via 'berth:updated', but Socket.IO is unavailable in some dev environments. Switch to the correct singular key + keep the plural-list invalidation so list views (BerthList, bulk-edit sheet) also refresh. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
98.7%
HTML
1%
CSS
0.1%
Shell
0.1%