fix typo
This commit is contained in:
parent
6fe6696768
commit
53a9396ad3
1 changed files with 6 additions and 6 deletions
|
@ -5,10 +5,10 @@ import Button from 'component/button';
|
||||||
import UserPhoneVerify from 'component/userPhoneVerify';
|
import UserPhoneVerify from 'component/userPhoneVerify';
|
||||||
import { withRouter } from 'react-router-dom';
|
import { withRouter } from 'react-router-dom';
|
||||||
|
|
||||||
const LazyUserPhoneNew = React.lazy(() => import(
|
const LazyUserPhoneNew = React.lazy(() =>
|
||||||
/* webpackChunkName: "userPhoneNew" */
|
import(/* webpackChunkName: "userPhoneNew" */
|
||||||
'component/userPhoneNew'
|
'component/userPhoneNew')
|
||||||
));
|
);
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
phone: ?number,
|
phone: ?number,
|
||||||
|
@ -36,8 +36,8 @@ class ModalPhoneCollection extends React.PureComponent<Props> {
|
||||||
|
|
||||||
if (!user.phone_number && !phone) {
|
if (!user.phone_number && !phone) {
|
||||||
return (
|
return (
|
||||||
<Suspense fallback={<div></div>}>
|
<Suspense fallback={<div />}>
|
||||||
<UserPhoneNew cancelButton={cancelButton} />
|
<LazyUserPhoneNew cancelButton={cancelButton} />
|
||||||
</Suspense>
|
</Suspense>
|
||||||
);
|
);
|
||||||
} else if (!user.phone_number) {
|
} else if (!user.phone_number) {
|
||||||
|
|
Loading…
Reference in a new issue