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
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:
@@ -127,7 +127,6 @@ export default class MessageComposer extends React.Component {
|
||||
</ul>
|
||||
</div>
|
||||
),
|
||||
button: _t("OK"),
|
||||
onFinished: (shouldUpload) => {
|
||||
if(shouldUpload) {
|
||||
// MessageComposer shouldn't have to rely on its parent passing in a callback to upload a file
|
||||
|
||||
Reference in New Issue
Block a user