Use Capabilities type from js-sdk (#10535)

t3chguy/dedup-icons-17oct
Hugh Nimmo-Smith 2023-04-11 10:46:11 +01:00 committed by GitHub
parent 4d5744008e
commit 692c07ef0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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> {