Merge pull request #11 from lockerdown/patch-1
feat: add optional chaining for monitor paramspull/36/head
commit
5104b417f6
|
|
@ -84,8 +84,8 @@ export async function getServerSideProps() {
|
|||
return {
|
||||
id: monitor.id,
|
||||
name: monitor.name,
|
||||
tooltip: monitor.tooltip,
|
||||
statusPageLink: monitor.statusPageLink
|
||||
tooltip: monitor?.tooltip,
|
||||
statusPageLink: monitor?.statusPageLink
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue