Fix weird TS error
This commit is contained in:
Vendored
+3
-1
@@ -69,7 +69,9 @@ function useMigrateMutes(setThreadMute: SetStateContext) {
|
|||||||
while (!cancelled) {
|
while (!cancelled) {
|
||||||
const threads = persisted.get('mutedThreads')
|
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
|
if (!root) break
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user