From 34f4d26c845f13e135974ae739a441a68f19d677 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Wed, 24 Aug 2022 22:07:33 +0900 Subject: [PATCH] fixed type --- app/src/pages/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/pages/page.tsx b/app/src/pages/page.tsx index 0344f96..89e5c10 100644 --- a/app/src/pages/page.tsx +++ b/app/src/pages/page.tsx @@ -23,7 +23,7 @@ async function updatePage( return res.ok; } -async function fetchPage(id: number): Promise { +async function fetchPage(id: number): Promise { const res = await fetch( new URL(`/pages?id=eq.${id}`, import.meta.env.QUOT_API_URL) );