From a97362c8398aeab5db4d36cf24cdf64fdbe89a94 Mon Sep 17 00:00:00 2001 From: Rintaro Itokawa Date: Wed, 14 Dec 2022 05:14:03 +0000 Subject: [PATCH] fix: Add missing import --- src/pages/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 8d7ca268..70d5fe5f 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -7,7 +7,12 @@ import { MenuLayout } from "../components/layout/menu"; import { IconButton } from "../components/shared/button/icon-button"; import { Modal } from "../components/shared/modal"; import { MenuForm } from "../components/form/menu"; -import type { CreateStoreMenuListItem } from "../libs/firebase/store"; +import type { + CreateStoreMenuListItem, + StoreMenuList, +} from "../libs/firebase/store"; +import { useAuthContext } from "../contexts/auth"; +import { getMenuList, createMenuListItem } from "../libs/firebase/store"; const Menu: NextPageWithLayout = () => { const [list, setList] = useState([]);