mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-04 05:37:22 +00:00
remove widget layout widget action for good.
This commit is contained in:
@@ -435,19 +435,6 @@ export const InCallView: FC<InCallViewProps> = ({
|
||||
[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(() => {
|
||||
if (widget) {
|
||||
const onTileLayout = (ev: CustomEvent<IWidgetApiRequest>): void => {
|
||||
|
||||
Reference in New Issue
Block a user