mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-06 07:20:29 +03:00
Remove unused
This commit is contained in:
parent
7dcd43c64f
commit
e5505cd5c2
1 changed files with 0 additions and 3 deletions
|
|
@ -10,7 +10,6 @@ import React, {
|
|||
import { logger } from 'matrix-js-sdk/lib/logger';
|
||||
import { WidgetApiToWidgetAction, WidgetApiAction, ClientWidgetApi } from 'matrix-widget-api';
|
||||
import { useParams } from 'react-router-dom';
|
||||
import { useMatrixClient } from '../../hooks/useMatrixClient';
|
||||
|
||||
interface MediaStatePayload {
|
||||
data?: {
|
||||
|
|
@ -89,8 +88,6 @@ export function CallProvider({ children }: CallProviderProps) {
|
|||
const [isPrimaryIframe, setIsPrimaryIframe] = useState<boolean>(DEFAULT_PRIMARY_IFRAME);
|
||||
|
||||
const { roomIdOrAlias: viewedRoomId } = useParams<{ roomIdOrAlias: string }>();
|
||||
const mx = useMatrixClient();
|
||||
const room = mx.getRoom(viewedRoomId);
|
||||
|
||||
const resetMediaState = useCallback(() => {
|
||||
logger.debug('CallContext: Resetting media state to defaults.');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue