Devtools for stuck notifications (#10042)

This commit is contained in:
Germain 2023-02-03 10:07:24 +00:00 committed by GitHub
parent 469228f45e
commit 6dd578e5a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 378 additions and 6 deletions

View file

@ -25,7 +25,7 @@ import { CryptoEvent } from "matrix-js-sdk/src/crypto";
import { useTypedEventEmitter, useTypedEventEmitterState } from "../../../../hooks/useEventEmitter";
import { _t, _td } from "../../../../languageHandler";
import MatrixClientContext from "../../../../contexts/MatrixClientContext";
import BaseTool, { DevtoolsContext } from "./BaseTool";
import BaseTool, { DevtoolsContext, IDevtoolsProps } from "./BaseTool";
import { Tool } from "../DevtoolsDialog";
const PHASE_MAP: Record<Phase, string> = {
@ -81,7 +81,7 @@ const VerificationRequestExplorer: React.FC<{
);
};
const VerificationExplorer: Tool = ({ onBack }) => {
const VerificationExplorer: Tool = ({ onBack }: IDevtoolsProps) => {
const cli = useContext(MatrixClientContext);
const context = useContext(DevtoolsContext);