Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-sz committed Jan 29, 2024
1 parent 2d51081 commit e92c40d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/stores/NetworkStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export class NetworkStore {
this.transfers.get(message.transferId)?.start(message.data);
break;
case MessageType.RTC_CANDIDATE:
this.transfers.get(message.transferId)?.addIceCandiate(message.data);
this.transfers.get(message.transferId)?.addIceCandidate(message.data);
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion web/src/stores/Transfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class Transfer {
: undefined;
}

addIceCandiate(candidate: RTCIceCandidate) {
addIceCandidate(candidate: RTCIceCandidate) {
this.validPeerConnection()
?.addIceCandidate(candidate)
.catch(() => {});
Expand Down

0 comments on commit e92c40d

Please sign in to comment.