mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 03:05:51 +03:00
Use Capabilities type from js-sdk (#10535)
This commit is contained in:
parent
4d5744008e
commit
692c07ef0a
1 changed files with 2 additions and 2 deletions
|
@ -19,6 +19,7 @@ import {
|
|||
IMSC3882GetLoginTokenCapability,
|
||||
IServerVersions,
|
||||
UNSTABLE_MSC3882_CAPABILITY,
|
||||
Capabilities,
|
||||
} from "matrix-js-sdk/src/matrix";
|
||||
|
||||
import { _t } from "../../../../languageHandler";
|
||||
|
@ -28,8 +29,7 @@ import SettingsSubsection from "../shared/SettingsSubsection";
|
|||
interface IProps {
|
||||
onShowQr: () => void;
|
||||
versions?: IServerVersions;
|
||||
// we can't use the capabilities type from the js-sdk because it isn't exported
|
||||
capabilities?: Record<string, any>;
|
||||
capabilities?: Capabilities;
|
||||
}
|
||||
|
||||
export default class LoginWithQRSection extends React.Component<IProps> {
|
||||
|
|
Loading…
Reference in a new issue