From f8057651b482483b5e9c4120ac526a9a51ea0617 Mon Sep 17 00:00:00 2001 From: ina-amagami Date: Thu, 19 Dec 2024 15:28:05 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=80=9Cis=20not=20a=20function=E2=80=9D?= =?UTF-8?q?=20error=20in=20nextjs-start?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nextjs-start/src/lib/firebase/firestore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextjs-start/src/lib/firebase/firestore.js b/nextjs-start/src/lib/firebase/firestore.js index 690baa0fd..fa4c570ad 100644 --- a/nextjs-start/src/lib/firebase/firestore.js +++ b/nextjs-start/src/lib/firebase/firestore.js @@ -50,7 +50,7 @@ export async function getRestaurants(db = db, filters = {}) { } export function getRestaurantsSnapshot(cb, filters = {}) { - return; + return () => {}; } export async function getRestaurantById(db, restaurantId) { @@ -67,7 +67,7 @@ export async function getRestaurantById(db, restaurantId) { } export function getRestaurantSnapshotById(restaurantId, cb) { - return; + return () => {}; } export async function getReviewsByRestaurantId(db, restaurantId) {