Convert components to ES6 exports
This commit is contained in:
@@ -22,7 +22,7 @@ import { _t } from 'matrix-react-sdk/lib/languageHandler';
|
||||
* This is identical to `CustomServerDialog` except for replacing "this app"
|
||||
* with "Riot".
|
||||
*/
|
||||
module.exports = ({onFinished}) => {
|
||||
const VectorCustomServerDialog = ({onFinished}) => {
|
||||
return (
|
||||
<div className="mx_ErrorDialog">
|
||||
<div className="mx_Dialog_title">
|
||||
@@ -44,4 +44,7 @@ module.exports = ({onFinished}) => {
|
||||
</div>
|
||||
);
|
||||
};
|
||||
module.exports.replaces = 'CustomServerDialog';
|
||||
|
||||
VectorCustomServerDialog.replaces = 'CustomServerDialog';
|
||||
|
||||
export default VectorCustomServerDialog;
|
||||
|
||||
Reference in New Issue
Block a user