We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41b0a4d commit f805765Copy full SHA for f805765
nextjs-start/src/lib/firebase/firestore.js
@@ -50,7 +50,7 @@ export async function getRestaurants(db = db, filters = {}) {
50
}
51
52
export function getRestaurantsSnapshot(cb, filters = {}) {
53
- return;
+ return () => {};
54
55
56
export async function getRestaurantById(db, restaurantId) {
@@ -67,7 +67,7 @@ export async function getRestaurantById(db, restaurantId) {
67
68
69
export function getRestaurantSnapshotById(restaurantId, cb) {
70
71
72
73
export async function getReviewsByRestaurantId(db, restaurantId) {
0 commit comments