Update index.tsx

Fix #41: Compilation failure leading to unsuccessful deployment.
This commit is contained in:
Vega authored and GitHub committed 2024-06-22 20:23:47 +08:00
1 parent 03d6a5cee9
commit b232414d22
1 file changed
+4 -2
+4 -2
View File
@@ -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
}
})