text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[5],{Mshu:function(e,t,a){"use strict";var n=a("tAuX"),u=a("g09b");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("T2oS");var l=u(a("W9HT")),r=u(a("qIgq")),o=n(a("q1tI")),d=u(a("Yp/c")),f=a("Hg0r"),s=function(e){var t=(0,o.useState)(""),a=(0,r.default)(t,2),n=a[0],u=a[1],s=(0,o.useState)(""),i=(0,r.default)(s,2),c=i[0],p=i[1],m=(0,o.useState)(!1),g=(0,r.default)(m,2),v=g[0],E=(g[1],(0,f.useDispatch)()),w=function(){E({type:"auth/login",payload:{body:{email:n,password:c}}})};return o.default.createElement(l.default,{spinning:v},o.default.createElement("div",{className:d.default.formContainer},o.default.createElement("div",{className:d.default.formInput},o.default.createElement("label",null,"Email:"),o.default.createElement("input",{value:n,onChange:function(e){return u(e.target.value)}})),o.default.createElement("div",{className:d.default.formInput},o.default.createElement("label",null,"Password:"),o.default.createElement("input",{type:"password",value:c,onChange:function(e){return p(e.target.value)}})),o.default.createElement("button",{onClick:w},"Fazer login")))},i=s;t.default=i},"Yp/c":function(e,t,a){e.exports={formContainer:"antd-pro-pages-auth-routes-login-formContainer",formInput:"antd-pro-pages-auth-routes-login-formInput"}}}]);
  //# sourceMappingURL=p__auth__routes__Login.6b7a39b4.async.js.map