lint and typo

This commit is contained in:
Timo
2025-02-05 12:42:42 +01:00
parent 1f3203f3a2
commit dc7cefdffe
2 changed files with 2 additions and 2 deletions

View File

@@ -1697,7 +1697,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
.sendStickerContentToRoom(url, roomId, threadId, info, text, this.context.client) .sendStickerContentToRoom(url, roomId, threadId, info, text, this.context.client)
.then(undefined, (error) => { .then(undefined, (error) => {
if (error.name === "UnknownDeviceError") { if (error.name === "UnknownDeviceError") {
// Let the staus bar handle this // Let the status bar handle this
return; return;
} }
}); });

View File

@@ -9,7 +9,7 @@ Please see LICENSE files in the repository root for full details.
import React, { type FC, useContext, useEffect, type AriaRole, useCallback } from "react"; import React, { type FC, useContext, useEffect, type AriaRole, useCallback } from "react";
import type { Room } from "matrix-js-sdk/src/matrix"; import type { Room } from "matrix-js-sdk/src/matrix";
import { type Call, ConnectionState, ElementCall } from "../../../models/Call"; import { type Call, ConnectionState } from "../../../models/Call";
import { useCall } from "../../../hooks/useCall"; import { useCall } from "../../../hooks/useCall";
import MatrixClientContext from "../../../contexts/MatrixClientContext"; import MatrixClientContext from "../../../contexts/MatrixClientContext";
import AppTile from "../elements/AppTile"; import AppTile from "../elements/AppTile";