We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9657627 commit 83cdc8bCopy full SHA for 83cdc8b
web/src/components/IFrame.tsx
@@ -92,7 +92,7 @@ export default function IFrame(props: Props): JSX.Element {
92
}
93
94
const hashChangeEventListener = (): void => {
95
- if (iFrameRef.current == null) {
+ if (iFrameRef.current === null) {
96
console.error('hashChangeEvent from iframe but iFrameRef is null')
97
return
98
@@ -113,7 +113,7 @@ export default function IFrame(props: Props): JSX.Element {
113
114
115
const titleChangeEventListener = (): void => {
116
117
console.error('titleChangeEvent from iframe but iFrameRef is null')
118
119
0 commit comments