Antd V4 Icon Updates
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Button, Form, Icon, Input } from "antd";
|
||||
import { Button, Form, Input } from "antd";
|
||||
import { LockFilled } from "@ant-design/icons";
|
||||
import React from "react";
|
||||
import { useApolloClient } from "react-apollo";
|
||||
import { connect } from "react-redux";
|
||||
@@ -7,7 +8,10 @@ import { createStructuredSelector } from "reselect";
|
||||
import Logo from "../../assets/logo240.png";
|
||||
import { UPSERT_USER } from "../../graphql/user.queries";
|
||||
import { emailSignInStart } from "../../redux/user/user.actions";
|
||||
import { selectCurrentUser, selectSignInError } from "../../redux/user/user.selectors";
|
||||
import {
|
||||
selectCurrentUser,
|
||||
selectSignInError
|
||||
} from "../../redux/user/user.selectors";
|
||||
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
currentUser: selectCurrentUser,
|
||||
@@ -86,9 +90,7 @@ export default connect(
|
||||
]
|
||||
})(
|
||||
<Input
|
||||
prefix={
|
||||
<Icon type="lock" style={{ color: "rgba(0,0,0,.25)" }} />
|
||||
}
|
||||
prefix={<LockFilled style={{ color: "rgba(0,0,0,.25)" }} />}
|
||||
type="password"
|
||||
placeholder="Password"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user