Batch of views getting replaceableComponent decorators

This commit is contained in:
Travis Ralston 2021-03-08 20:20:07 -07:00
parent c5935dbc61
commit 41576954fd
49 changed files with 98 additions and 1 deletions

View file

@ -19,7 +19,9 @@ import { _t } from "../../../languageHandler";
import AccessibleButton from "../elements/AccessibleButton";
import Modal from "../../../Modal";
import ServerOfflineDialog from "../dialogs/ServerOfflineDialog";
import {replaceableComponent} from "../../../utils/replaceableComponent";
@replaceableComponent("views.toasts.NonUrgentEchoFailureToast")
export default class NonUrgentEchoFailureToast extends React.PureComponent {
private openDialog = () => {
Modal.createTrackedDialog('Local Echo Server Error', '', ServerOfflineDialog, {});