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

Commit 4fcb258

Browse files
committed
Refactor SeshatResetDialog props interface to use IDialogProps
1 parent b38f5c9 commit 4fcb258

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/components/views/dialogs/SeshatResetDialog.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@ import {replaceableComponent} from "../../../utils/replaceableComponent";
2121
import BaseDialog from "./BaseDialog";
2222
import DialogButtons from "../elements/DialogButtons";
2323

24-
interface IProps {
25-
onFinished(): void;
26-
}
24+
import {IDialogProps} from "./IDialogProps";
2725

2826
@replaceableComponent("views.dialogs.SeshatResetDialog")
29-
export default class SeshatResetDialog extends React.PureComponent<IProps> {
27+
export default class SeshatResetDialog extends React.PureComponent<IDialogProps> {
3028
render() {
3129
return (
3230
<BaseDialog

0 commit comments

Comments
 (0)