You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Put back default strings on dialogs
But make them work by calling _t in render rather than getDefaultProps(). Also sort out some 'Warning!' strings
This commit is contained in:
@@ -107,7 +107,6 @@ function createRoom(opts) {
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: _t("Failure to create room"),
|
||||
description: _t("Server may be unavailable, overloaded, or you hit a bug") + ".",
|
||||
button: _t("OK"),
|
||||
});
|
||||
return null;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user