diff --git a/src/components/views/pips/WidgetPip.tsx b/src/components/views/pips/WidgetPip.tsx index 57a06e89f41..0ffdaf3efe1 100644 --- a/src/components/views/pips/WidgetPip.tsx +++ b/src/components/views/pips/WidgetPip.tsx @@ -123,7 +123,7 @@ export const WidgetPip: FC = ({ widgetId, room, viewingRoom, onStartMovin pointerEvents="none" movePersistedElement={movePersistedElement} /> - {(call !== null || WidgetType.JITSI.matches(widget.type)) && ( + {(call !== null || WidgetType.JITSI.matches(widget?.type)) && (