Commit 3090258 1 parent c58111f commit 3090258 Copy full SHA for 3090258
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default function IFrame(props: Props): JSX.Element {
14
14
const iFrameRef = useRef < HTMLIFrameElement > ( null )
15
15
16
16
const onIframeLoad = ( ) : void => {
17
- if ( iFrameRef . current == null ) {
17
+ if ( iFrameRef . current === null ) {
18
18
console . error ( 'iFrameRef is null' )
19
19
return
20
20
}
@@ -92,7 +92,7 @@ export default function IFrame(props: Props): JSX.Element {
92
92
}
93
93
94
94
const hashChangeEventListener = ( ) : void => {
95
- if ( iFrameRef . current == null ) {
95
+ if ( iFrameRef . current === null ) {
96
96
console . error ( 'hashChangeEvent from iframe but iFrameRef is null' )
97
97
return
98
98
}
@@ -113,7 +113,7 @@ export default function IFrame(props: Props): JSX.Element {
113
113
}
114
114
115
115
const titleChangeEventListener = ( ) : void => {
116
- if ( iFrameRef . current == null ) {
116
+ if ( iFrameRef . current === null ) {
117
117
console . error ( 'titleChangeEvent from iframe but iFrameRef is null' )
118
118
return
119
119
}
You can’t perform that action at this time.
0 commit comments