Skip to content

Commit 715bb02

Browse files
committed
fix: null check fix
Refs: PL-274
1 parent 3b78666 commit 715bb02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/views/UnitView/components/ContactInfo/ContactInfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function ContactInfo({
129129
role="link"
130130
onClick={() => {
131131
// Navigate to accessibility tab by clicking tab
132-
if (accessiblityTabRef.current) {
132+
if (accessiblityTabRef?.current) {
133133
accessiblityTabRef.current.click();
134134
accessiblityTabRef.current.focus();
135135

0 commit comments

Comments
 (0)