Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/leadin/scripts/elemento.../MeetingW...
File: MeetingWidgetController.tsx
import React, { Fragment } from 'react';
[0] Fix | Delete
import { connectionStatus } from '../../constants/leadinConfig';
[1] Fix | Delete
import ErrorHandler from '../../shared/Common/ErrorHandler';
[2] Fix | Delete
import MeetingsEdit from '../../shared/Meeting/MeetingEdit';
[3] Fix | Delete
import { IMeetingAttributes } from './registerMeetingWidget';
[4] Fix | Delete
[5] Fix | Delete
const ConnectionStatus = {
[6] Fix | Delete
Connected: 'Connected',
[7] Fix | Delete
NotConnected: 'NotConnected',
[8] Fix | Delete
};
[9] Fix | Delete
[10] Fix | Delete
export default function MeetingWidgetController(
[11] Fix | Delete
attributes: IMeetingAttributes,
[12] Fix | Delete
setValue: Function
[13] Fix | Delete
) {
[14] Fix | Delete
return () => {
[15] Fix | Delete
const render = () => {
[16] Fix | Delete
if (connectionStatus === ConnectionStatus.Connected) {
[17] Fix | Delete
return (
[18] Fix | Delete
<MeetingsEdit
[19] Fix | Delete
attributes={attributes}
[20] Fix | Delete
isSelected={true}
[21] Fix | Delete
setAttributes={setValue}
[22] Fix | Delete
preview={false}
[23] Fix | Delete
origin="elementor"
[24] Fix | Delete
/>
[25] Fix | Delete
);
[26] Fix | Delete
} else {
[27] Fix | Delete
return <ErrorHandler status={401} />;
[28] Fix | Delete
}
[29] Fix | Delete
};
[30] Fix | Delete
return <Fragment>{render()}</Fragment>;
[31] Fix | Delete
};
[32] Fix | Delete
}
[33] Fix | Delete
[34] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function