diff --git a/modules/connections/connect-caller-peer.ts b/modules/connections/connect-caller-peer.ts index 4d1650e..64caef4 100644 --- a/modules/connections/connect-caller-peer.ts +++ b/modules/connections/connect-caller-peer.ts @@ -190,13 +190,7 @@ export const connectCallerPeerMachine = setup({ }, "setting remote answer": { - entry: [ - sendTo("someActor", ({ context }) => ({ - type: "someEvent", - data: context.answer!, - })), - "sendPendingIceCandidates", - ], + entry: "sendPendingIceCandidates", on: { "peer-connection.ice-candidate": {