Skip to content

Commit 6d8101e

Browse files
committed
Fix “is not a function” error in nextjs-start
1 parent 41b0a4d commit 6d8101e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nextjs-start/src/lib/firebase/firestore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export async function getRestaurants(db = db, filters = {}) {
5050
}
5151

5252
export function getRestaurantsSnapshot(cb, filters = {}) {
53-
return;
53+
return () => {};
5454
}
5555

5656
export async function getRestaurantById(db, restaurantId) {

0 commit comments

Comments
 (0)