Fix weird TS error
This commit is contained in:
Vendored
+3
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user