From b232414d228223f22c1cc52a543c9d5e1b820002 Mon Sep 17 00:00:00 2001 From: Vega Date: Sat, 22 Jun 2024 20:23:47 +0800 Subject: [PATCH] Update index.tsx Fix #41: Compilation failure leading to unsuccessful deployment. --- pages/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 87a1d40..2bc9adc 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -19,6 +19,8 @@ export default function Home({ }: { state: string monitors: MonitorTarget[] + tooltip?: string + statusPageLink?: string }) { let state; if (stateStr !== undefined) { @@ -103,8 +105,8 @@ export async function getServerSideProps() { return { id: monitor.id, name: monitor.name, - tooltip: monitor?.tooltip, - statusPageLink: monitor?.statusPageLink + tooltip: 'Default Tooltip Value', //monitor?.tooltip, + statusPageLink: 'statusPageLink', //monitor?.statusPageLink } })