diff --git a/frontend/app/components/Assist/RequestingWindow/RequestingWindow.tsx b/frontend/app/components/Assist/RequestingWindow/RequestingWindow.tsx index 32f6c7d6f..6d702acdb 100644 --- a/frontend/app/components/Assist/RequestingWindow/RequestingWindow.tsx +++ b/frontend/app/components/Assist/RequestingWindow/RequestingWindow.tsx @@ -1,12 +1,12 @@ -import React from 'react' -import { INDEXES } from 'App/constants/zindex' +import React from 'react'; +import { INDEXES } from 'App/constants/zindex'; import { connect } from 'react-redux'; -import { Button, Loader, Icon } from 'UI' +import { Button, Loader, Icon } from 'UI'; import { initiateCallEnd, releaseRemoteControl } from 'Player'; interface Props { - userDisplayName: string - type: WindowType + userDisplayName: string; + type: WindowType; } export enum WindowType { @@ -18,27 +18,36 @@ const WIN_VARIANTS = { [WindowType.Call]: { text: 'to accept the call', icon: 'call' as const, - action: initiateCallEnd + action: initiateCallEnd, }, [WindowType.Control]: { text: 'to accept remote control request', icon: 'remote-control' as const, - action: releaseRemoteControl - } -} + action: releaseRemoteControl, + }, +}; function RequestingWindow({ userDisplayName, type }: Props) { return ( -