Merge "fix: Fix spelling & remove link"

This commit is contained in:
Zuul 2021-09-03 02:35:07 +00:00 committed by Gerrit Code Review
commit 672c8d0f9b
2 changed files with 3 additions and 6 deletions

View File

@ -16,7 +16,6 @@ import React, { Component } from 'react';
import { inject, observer } from 'mobx-react'; import { inject, observer } from 'mobx-react';
import renderRoutes from 'utils/RouterConfig'; import renderRoutes from 'utils/RouterConfig';
import SelectLang from 'components/SelectLang'; import SelectLang from 'components/SelectLang';
import { Link } from 'react-router-dom';
import logo from 'src/asset/image/logo.png'; import logo from 'src/asset/image/logo.png';
// import loginImage from 'src/asset/image/login.png'; // import loginImage from 'src/asset/image/login.png';
@ -48,9 +47,7 @@ class AuthLayout extends Component {
<div className={styles.main}> <div className={styles.main}>
<div className={styles.top}> <div className={styles.top}>
<div className={styles.header}> <div className={styles.header}>
<Link to="/"> <img alt="logo" className={styles.logo} src={logo} />
<img alt="logo" className={styles.logo} src={logo} />
</Link>
</div> </div>
</div> </div>
{renderRoutes(this.routes)} {renderRoutes(this.routes)}

View File

@ -218,7 +218,7 @@ const passwordAndUserData =
'\n' + '\n' +
'--===============2309984059743762475==--'; '--===============2309984059743762475==--';
const onlyPasword = const onlyPassword =
'Content-Type: multipart/mixed; boundary="===============2309984059743762475==" \n' + 'Content-Type: multipart/mixed; boundary="===============2309984059743762475==" \n' +
'MIME-Version: 1.0\n' + 'MIME-Version: 1.0\n' +
'\n' + '\n' +
@ -264,7 +264,7 @@ export const getUserData = (password, userData) => {
return str.replace(/USER_DATA/g, userData); return str.replace(/USER_DATA/g, userData);
} }
if (password) { if (password) {
return onlyPasword.replace(/USER_PASSWORD/g, password); return onlyPassword.replace(/USER_PASSWORD/g, password);
} }
return onlyUserData.replace(/USER_DATA/g, userData); return onlyUserData.replace(/USER_DATA/g, userData);
}; };