remove widget layout widget action for good.
This commit is contained in:
@@ -435,19 +435,6 @@ export const InCallView: FC<InCallViewProps> = ({
|
|||||||
[vm],
|
[vm],
|
||||||
);
|
);
|
||||||
|
|
||||||
// useEffect(() => {
|
|
||||||
// widget?.api.transport
|
|
||||||
// .send(
|
|
||||||
// gridMode === "grid"
|
|
||||||
// ? ElementWidgetActions.TileLayout
|
|
||||||
// : ElementWidgetActions.SpotlightLayout,
|
|
||||||
// {},
|
|
||||||
// )
|
|
||||||
// .catch((e) => {
|
|
||||||
// logger.error("Failed to send layout change to widget API", e);
|
|
||||||
// });
|
|
||||||
// }, [gridMode]);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (widget) {
|
if (widget) {
|
||||||
const onTileLayout = (ev: CustomEvent<IWidgetApiRequest>): void => {
|
const onTileLayout = (ev: CustomEvent<IWidgetApiRequest>): void => {
|
||||||
|
|||||||
Reference in New Issue
Block a user