Skip to content

Commit

Permalink
Update to Firebase v9.23 in devDependencies (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
christhompsongoogle authored Aug 3, 2023
1 parent 85cb2bb commit 9429194
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions example/withSuspense/Firestore.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { useEffect, useState, useTransition } from 'react';
import { useState, useTransition } from 'react';
import {
FirestoreProvider,
SuspenseWithPerf,
Expand All @@ -13,7 +13,7 @@ import { WideButton } from '../display/Button';
import { CardSection } from '../display/Card';
import { LoadingSpinner } from '../display/LoadingSpinner';
import { AuthWrapper } from './Auth';
import { initializeFirestore, doc, collection, enableIndexedDbPersistence, increment, updateDoc, orderBy, query, addDoc, deleteDoc, DocumentData } from 'firebase/firestore';
import { initializeFirestore, doc, collection, enableIndexedDbPersistence, increment, updateDoc, orderBy, query, addDoc, deleteDoc } from 'firebase/firestore';

const Counter = () => {
const firestore = useFirestore();
Expand Down
6 changes: 2 additions & 4 deletions example/withoutSuspense/Firestore.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import * as React from 'react';
import { useState } from 'react';
import { FirestoreProvider, useFirebaseApp, useFirestore, useFirestoreCollectionData, useFirestoreDocData, useFirestoreDocDataOnce, useInitFirestore } from 'reactfire';
import { FirestoreProvider, useFirestore, useFirestoreCollectionData, useFirestoreDocData, useFirestoreDocDataOnce, useInitFirestore } from 'reactfire';
import { WideButton } from '../display/Button';
import { CardSection } from '../display/Card';
import { LoadingSpinner } from '../display/LoadingSpinner';
import { AuthWrapper } from './Auth';
import { initializeFirestore, doc, collection, enableIndexedDbPersistence, increment, updateDoc, orderBy, query, addDoc, DocumentData } from 'firebase/firestore';
import { getFirestore } from 'firebase/firestore';
import { initializeFirestore, doc, collection, enableIndexedDbPersistence, increment, updateDoc, orderBy, query, addDoc } from 'firebase/firestore';

const Counter = () => {
const firestore = useFirestore();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"firebase": "^9.9.0",
"firebase": "^9.23.0",
"firebase-tools": "^12.4.0",
"globalthis": "^1.0.3",
"husky": "^8.0.3",
Expand Down

0 comments on commit 9429194

Please sign in to comment.