File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export const DeploymentPreview: FC<{
80
80
} }
81
81
className = "hover:text-link flex w-fit items-center gap-2 hover:underline"
82
82
>
83
- { githubContext . data . commit . message }
83
+ { githubContext . data . commit ? .message }
84
84
</ Link >
85
85
< WorkflowStatusIndicator
86
86
status = { githubContext . data . workflow_status }
@@ -93,7 +93,7 @@ export const DeploymentPreview: FC<{
93
93
target = "_blank"
94
94
>
95
95
< FiGitCommit />
96
- { githubContext . data . commit . id . slice ( 0 , 7 ) }
96
+ { githubContext . data . commit ? .id . slice ( 0 , 7 ) }
97
97
</ Link >
98
98
< Link
99
99
to = { githubContext . workflowUrl }
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export const GithubDeploymentContext: FC<{
108
108
< div className = "flex h-full flex-col justify-center gap-1" >
109
109
< div className = "flex items-center gap-2" >
110
110
< div className = "font-bold" >
111
- { context . data . commit . message }
111
+ { context . data . commit ? .message }
112
112
</ div >
113
113
{ decoratedContext . workflowUrl && (
114
114
< Link
You can’t perform that action at this time.
0 commit comments