mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Use Capabilities type from js-sdk (#10535)
This commit is contained in:
parent
4d5744008e
commit
692c07ef0a
@ -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 New Issue
Block a user