|
|
|
@ -18,8 +18,8 @@ import React from "react" |
|
|
|
|
import { connect } from "react-redux" |
|
|
|
|
import classNames from "classnames" |
|
|
|
|
import logo from "../../img/logo.svg" |
|
|
|
|
import Alert from "./Alert" |
|
|
|
|
import * as actionsAlert from "../actions/alert" |
|
|
|
|
import Alert from "../alert/Alert" |
|
|
|
|
import * as actionsAlert from "../alert/actions" |
|
|
|
|
import InputGroup from "../components/InputGroup" |
|
|
|
|
import { minioBrowserPrefix } from "../constants" |
|
|
|
|
import web from "../web" |
|
|
|
@ -115,7 +115,8 @@ export class Login extends React.Component { |
|
|
|
|
|
|
|
|
|
const mapDispatchToProps = dispatch => { |
|
|
|
|
return { |
|
|
|
|
showAlert: (type, message) => dispatch(actionsAlert.set({type: type, message: message})), |
|
|
|
|
showAlert: (type, message) => |
|
|
|
|
dispatch(actionsAlert.set({ type: type, message: message })), |
|
|
|
|
clearAlert: () => dispatch(actionsAlert.clear()) |
|
|
|
|
} |
|
|
|
|
} |