You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Refactor SeshatResetDialog props interface to use IDialogProps
This commit is contained in:
@@ -21,12 +21,10 @@ import {replaceableComponent} from "../../../utils/replaceableComponent";
|
|||||||
import BaseDialog from "./BaseDialog";
|
import BaseDialog from "./BaseDialog";
|
||||||
import DialogButtons from "../elements/DialogButtons";
|
import DialogButtons from "../elements/DialogButtons";
|
||||||
|
|
||||||
interface IProps {
|
import {IDialogProps} from "./IDialogProps";
|
||||||
onFinished(): void;
|
|
||||||
}
|
|
||||||
|
|
||||||
@replaceableComponent("views.dialogs.SeshatResetDialog")
|
@replaceableComponent("views.dialogs.SeshatResetDialog")
|
||||||
export default class SeshatResetDialog extends React.PureComponent<IProps> {
|
export default class SeshatResetDialog extends React.PureComponent<IDialogProps> {
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<BaseDialog
|
<BaseDialog
|
||||||
|
|||||||
Reference in New Issue
Block a user