Merge pull request #43 from tianwen42/patch-1
Fix statusPageLink compilation error
This commit is contained in:
1 file changed
+4
@@ -19,6 +19,8 @@ export default function Home({
|
||||
}: {
|
||||
state: string
|
||||
monitors: MonitorTarget[]
|
||||
tooltip?: string
|
||||
statusPageLink?: string
|
||||
}) {
|
||||
let state;
|
||||
if (stateStr !== undefined) {
|
||||
@@ -103,7 +105,9 @@ export async function getServerSideProps() {
|
||||
return {
|
||||
id: monitor.id,
|
||||
name: monitor.name,
|
||||
// @ts-ignore
|
||||
tooltip: monitor?.tooltip,
|
||||
// @ts-ignore
|
||||
statusPageLink: monitor?.statusPageLink
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user