(id: string)
| 201 | } |
| 202 | |
| 203 | const deleteThread = (id: string) => { |
| 204 | threadPersistence.removeItem(id) |
| 205 | commit(threadsRef.current.filter((t) => t.id !== id)) |
| 206 | } |
| 207 | |
| 208 | /** Bump recency, and set the title the first time a thread gets one. */ |
| 209 | const touchThread = (id: string, title?: string) => { |
no test coverage detected