Merge pull request #11 from lockerdown/patch-1
feat: add optional chaining for monitor params
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user