chore(deps): bump

This commit is contained in:
liyasthomas
2021-08-29 20:53:59 +05:30
parent 91352ade20
commit add358c752
3 changed files with 2359 additions and 1703 deletions

View File

@@ -86,7 +86,7 @@ async function clearHistory(col: HistoryFBCollections) {
throw new Error("User not logged in to clear history")
const { docs } = await getDocs(
collection(getFirestore(), "users", currentUser$.value.uid)
collection(getFirestore(), "users", currentUser$.value.uid, col)
)
await Promise.all(docs.map((e) => deleteHistory(e, col)))