Batch of views getting replaceableComponent decorators

This commit is contained in:
Travis Ralston
2021-03-08 20:23:54 -07:00
parent c5935dbc61
commit 41576954fd
49 changed files with 98 additions and 1 deletions
@@ -29,6 +29,7 @@ import GenericToast from "./GenericToast";
import {VerificationRequest} from "matrix-js-sdk/src/crypto/verification/request/VerificationRequest";
import {DeviceInfo} from "matrix-js-sdk/src/crypto/deviceinfo";
import {Action} from "../../../dispatcher/actions";
import {replaceableComponent} from "../../../utils/replaceableComponent";
interface IProps {
toastKey: string;
@@ -40,6 +41,7 @@ interface IState {
device?: DeviceInfo;
}
@replaceableComponent("views.toasts.VerificationRequestToast")
export default class VerificationRequestToast extends React.PureComponent<IProps, IState> {
private intervalHandle: NodeJS.Timeout;