File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,9 +174,9 @@ export function CallView({ resizable }: CallViewProps) {
174174 const [ availableHeight , setAvailableHeight ] = useState ( 0 ) ;
175175
176176 useEffect ( ( ) => {
177- if ( ! resizable || ! callViewRef . current ) return ;
177+ if ( ! resizable || ! callViewRef . current ) return undefined ;
178178 const container = callViewRef . current . parentElement ?. parentElement ;
179- if ( ! container ) return ;
179+ if ( ! container ) return undefined ;
180180
181181 const observer = new ResizeObserver ( ( entries ) => {
182182 if ( entries [ 0 ] ) {
Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ export const CALL_RINGTONE_OPTIONS: CallToneOption<CallRingtoneId>[] = CALL_TONE
2828 } )
2929) ;
3030
31- export const CALL_RINGBACK_OPTIONS : CallToneOption < CallRingtoneId > [ ] = CALL_RINGTONE_OPTIONS ;
31+ export const CALL_RINGBACK_OPTIONS : CallToneOption < CallRingtoneId > [ ] = CALL_RINGTONE_OPTIONS . filter (
32+ ( option ) => option . value !== 'silent'
33+ ) ;
3234
3335type ToneSettings = Pick < Settings , 'isNotificationSounds' | 'callSoundOverrideGlobalNotifications' > ;
3436
You can’t perform that action at this time.
0 commit comments