Skip to content

Commit

Permalink
Fix error introduced into UI iframe test infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
kriswest committed Dec 17, 2024
1 parent fe42de4 commit e35a162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fdc3-get-agent/test/support/FrameTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function handleChannelSelectorComms(
parent.dispatchEvent(event);

connection.port2.onmessage = e => {
if (isFdc3UserInterfaceHandshake(e)) {
if (isFdc3UserInterfaceHandshake(e.data)) {
setTimeout(() => {
const msg: Fdc3UserInterfaceRestyle = {
type: 'Fdc3UserInterfaceRestyle',
Expand Down Expand Up @@ -129,7 +129,7 @@ export function handleIntentResolverComms(
parent.dispatchEvent(event);

connection.port2.onmessage = e => {
if (isFdc3UserInterfaceHandshake(e)) {
if (isFdc3UserInterfaceHandshake(e.data)) {
setTimeout(() => {
const msg: Fdc3UserInterfaceRestyle = {
type: 'Fdc3UserInterfaceRestyle',
Expand Down

0 comments on commit e35a162

Please sign in to comment.