From ee8d72d7dc1b960b5509283f5872bbdd19fe9e5a Mon Sep 17 00:00:00 2001 From: TZGyn Date: Tue, 19 Sep 2023 06:16:14 +0800 Subject: [PATCH] Frontend fix build error due to dashboard isLoading is not used --- react-frontend/src/pages/dashboard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-frontend/src/pages/dashboard.tsx b/react-frontend/src/pages/dashboard.tsx index 4732a31..e559338 100644 --- a/react-frontend/src/pages/dashboard.tsx +++ b/react-frontend/src/pages/dashboard.tsx @@ -25,7 +25,7 @@ export default function Dashboard() { }) const data = (await response.json()).shorteners as Shortener[] - console.log(data) + console.log(isLoading) setShorteners(data) setIsLoading(false)