mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 18:59:17 +00:00
Migrate to stylistic
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -77,9 +77,11 @@ export default class IncomingLegacyCallToast extends React.Component<IProps, ISt
|
||||
private onSilenceClick = (e: ButtonEvent): void => {
|
||||
e.stopPropagation();
|
||||
const callId = this.props.call.callId;
|
||||
this.state.silenced
|
||||
? LegacyCallHandler.instance.unSilenceCall(callId)
|
||||
: LegacyCallHandler.instance.silenceCall(callId);
|
||||
if (this.state.silenced) {
|
||||
LegacyCallHandler.instance.unSilenceCall(callId);
|
||||
} else {
|
||||
LegacyCallHandler.instance.silenceCall(callId);
|
||||
}
|
||||
};
|
||||
|
||||
public render(): React.ReactNode {
|
||||
|
||||
Reference in New Issue
Block a user