Skip to content

Commit

Permalink
fix: iframe message errors
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Jun 9, 2024
1 parent c7365c4 commit 8d609bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useServiceInformation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function useServiceInformation(
return;
}

if ((e.data.source as string).startsWith('react-devtools-')) {
if ((e.data.source as string | undefined)?.startsWith('react-devtools-')) {
return;
}

Expand Down

0 comments on commit 8d609bf

Please sign in to comment.