We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02c0628 commit 6fe40c8Copy full SHA for 6fe40c8
src/app/chats/page.tsx
@@ -2,7 +2,7 @@
2
3
import { useEffect, useState, useCallback } from "react";
4
import { onAuthStateChanged } from "firebase/auth";
5
-import { collection, query, onSnapshot, orderBy, limit, where, doc, addDoc, serverTimestamp, updateDoc, increment, arrayUnion, arrayRemove } from "firebase/firestore";
+import { collection, query, onSnapshot, orderBy, limit, doc, addDoc, serverTimestamp, updateDoc, arrayUnion, arrayRemove } from "firebase/firestore";
6
import { auth, db } from "@/lib/firebaseClient";
7
import Link from "next/link";
8
import { Post } from "@/types/post";
0 commit comments