mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
docs(firestore): fix typo (#3189)
Co-authored-by: Russell Wheatley <russellwheatley85@gmail.com>
This commit is contained in:
@@ -113,7 +113,7 @@ import firestore from '@react-native-firebase/firestore';
|
||||
|
||||
function Users() {
|
||||
const [users, setUsers] = useState([]); // Initial empty array of users
|
||||
const [loading, setLoading] useState(true); // Set loading to true on component mount
|
||||
const [loading, setLoading] = useState(true); // Set loading to true on component mount
|
||||
|
||||
// On load, fetch our users and subscribe to updates
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user