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

Commit

Permalink
Some secret references to the callbacks types
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed May 25, 2023
1 parent edefd97 commit 859fe6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/views/right_panel/VerificationPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { User } from "matrix-js-sdk/src/models/user";
import { SAS, SasEvent } from "matrix-js-sdk/src/crypto/verification/SAS";
import { logger } from "matrix-js-sdk/src/logger";
import { DeviceInfo } from "matrix-js-sdk/src/crypto/deviceinfo";
import { ShowQrCodeCallbacks, ShowSasCallbacks } from "matrix-js-sdk/src/crypto-api/verification";

import { MatrixClientPeg } from "../../../MatrixClientPeg";
import VerificationQRCode from "../elements/crypto/VerificationQRCode";
Expand All @@ -48,10 +49,10 @@ interface IProps {
}

interface IState {
sasEvent?: SAS["sasEvent"];
sasEvent?: ShowSasCallbacks;
emojiButtonClicked?: boolean;
reciprocateButtonClicked?: boolean;
reciprocateQREvent?: ReciprocateQRCode["reciprocateQREvent"];
reciprocateQREvent?: ShowQrCodeCallbacks;
}

export default class VerificationPanel extends React.PureComponent<IProps, IState> {
Expand Down

0 comments on commit 859fe6b

Please sign in to comment.