Fix weird TS error

This commit is contained in:
Eric Bailey
2025-01-08 10:06:48 -06:00
parent fad1685c10
commit 7822bcd416
+3 -1
View File
@@ -69,7 +69,9 @@ function useMigrateMutes(setThreadMute: SetStateContext) {
while (!cancelled) {
const threads = persisted.get('mutedThreads')
const root = threads.findLast(uri => uri.includes(currentAccount.did))
const root = threads
.reverse()
.find(uri => uri.includes(currentAccount.did))
if (!root) break