@@ -2,6 +2,8 @@ import React from 'react';
22import Joyride from 'react-joyride' ;
33import { useState , useRef , useEffect } from 'react' ;
44import { MdRefresh } from 'react-icons/md' ;
5+ import { Placement } from 'react-joyride' ;
6+
57
68// import '/Users/katharinehunt/Swell/src/assets/style/WebRtcEntry.css';
79import '../../../../assets/style/WebRtc.css' ;
@@ -88,23 +90,23 @@ const WebRTCServerEntryForm: React.FC<Props> = (props: Props) => {
8890 {
8991 target : '.get-offer-button' ,
9092 content : 'Caller: Generate an offer by clicking “Get Offer”.' ,
91- placement : 'bottom' ,
93+ placement : 'bottom' as Placement ,
9294 } ,
9395 {
9496 target : '.copy-offer-button' , // Target the "Copy" button in the Offer code box
9597 content :
9698 'Caller: Copy to clipboard, paste and send to recipient (email recommended).' ,
97- placement : 'bottom' ,
99+ placement : 'bottom' as Placement ,
98100 } ,
99101 {
100102 target : '.offer-paste-button' ,
101103 content : 'Recipient: Copy the offer received and paste into the top box' ,
102- placement : 'bottom' ,
104+ placement : 'bottom' as Placement ,
103105 } ,
104106 {
105107 target : '.get-answer-btn' ,
106108 content : "Recipient: Click 'Get Answer' and copy it." ,
107- placement : 'bottom' ,
109+ placement : 'bottom' as Placement ,
108110 } ,
109111 {
110112 target : '.answer-paste-button' ,
0 commit comments