Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Use Capabilities type from js-sdk (#10535)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughns authored Apr 11, 2023
1 parent 4d57440 commit 692c07e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/views/settings/devices/LoginWithQRSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
IMSC3882GetLoginTokenCapability,
IServerVersions,
UNSTABLE_MSC3882_CAPABILITY,
Capabilities,
} from "matrix-js-sdk/src/matrix";

import { _t } from "../../../../languageHandler";
Expand All @@ -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> {
Expand Down

0 comments on commit 692c07e

Please sign in to comment.