fix: Fix spelling & remove link
1. fix spelling 2. remove link at login page Change-Id: I9210891c3d00ca23a67cf300ab4d44cbe1176505
This commit is contained in:
parent
1d675b4362
commit
e9d2152e32
@ -16,7 +16,6 @@ import React, { Component } from 'react';
|
||||
import { inject, observer } from 'mobx-react';
|
||||
import renderRoutes from 'utils/RouterConfig';
|
||||
import SelectLang from 'components/SelectLang';
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
import logo from 'src/asset/image/logo.png';
|
||||
// import loginImage from 'src/asset/image/login.png';
|
||||
@ -48,9 +47,7 @@ class AuthLayout extends Component {
|
||||
<div className={styles.main}>
|
||||
<div className={styles.top}>
|
||||
<div className={styles.header}>
|
||||
<Link to="/">
|
||||
<img alt="logo" className={styles.logo} src={logo} />
|
||||
</Link>
|
||||
<img alt="logo" className={styles.logo} src={logo} />
|
||||
</div>
|
||||
</div>
|
||||
{renderRoutes(this.routes)}
|
||||
|
@ -218,7 +218,7 @@ const passwordAndUserData =
|
||||
'\n' +
|
||||
'--===============2309984059743762475==--';
|
||||
|
||||
const onlyPasword =
|
||||
const onlyPassword =
|
||||
'Content-Type: multipart/mixed; boundary="===============2309984059743762475==" \n' +
|
||||
'MIME-Version: 1.0\n' +
|
||||
'\n' +
|
||||
@ -264,7 +264,7 @@ export const getUserData = (password, userData) => {
|
||||
return str.replace(/USER_DATA/g, userData);
|
||||
}
|
||||
if (password) {
|
||||
return onlyPasword.replace(/USER_PASSWORD/g, password);
|
||||
return onlyPassword.replace(/USER_PASSWORD/g, password);
|
||||
}
|
||||
return onlyUserData.replace(/USER_DATA/g, userData);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user