Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4423 | Rev 5697 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4423 Rev 4933
Línea -... Línea 1...
-
 
1
/* eslint-disable react/prop-types */
1
import React from "react";
2
import React from "react"
2
import { NavLink, Switch, Route, withRouter } from "react-router-dom";
3
import { NavLink, Switch, Route, withRouter } from "react-router-dom"
3
import { connect } from "react-redux";
4
import { connect } from "react-redux"
-
 
5
import { addNotification } from "../../../redux/notification/notification.actions"
4
import Login from "./login/Login";
6
import Login from "./login/Login"
5
import Signup from "./signup/Signup";
7
import Signup from "./signup/Signup"
6
import ForgotPassword from "./forgot-password/ForgotPassword";
8
import ForgotPassword from "./forgot-password/ForgotPassword"
7
import { addNotification } from "../../../redux/notification/notification.actions";
-
 
Línea 8... Línea 9...
8
 
9
 
9
const SigninSection = (props) => {
10
const SigninSection = (props) => {
10
  // props captchakey
11
  // props captchakey
11
  const { captchaKey, facebookOauth, twitterOauth, googleOauth, aes, defaultNetwork } =
12
  const { captchaKey, facebookOauth, twitterOauth, googleOauth, aes, defaultNetwork } =
Línea 12... Línea 13...
12
    props.backendVars;
13
    props.backendVars
13
 
14
 
-
 
15
  // redux destructuring
14
  // redux destructuring
16
  const { addNotification } = props
15
  const { addNotification } = props;
17
  
16
  return (
18
  return (
17
    <div>
19
    <>
18
      <ul className="sign-control">
20
      <ul className="sign-control">
19
        <li>
21
        <li>
20
          {/* <a href="#">Entrar</a> */}
22
          {/* <a href="#">Entrar</a> */}
Línea 73... Línea 75...
73
              aes={aes}
75
              aes={aes}
74
            />
76
            />
75
          </Route>
77
          </Route>
76
        </Switch>
78
        </Switch>
77
      </div>
79
      </div>
78
    </div>
80
    </>
79
  );
81
  )
80
};
82
}
Línea 81... Línea 83...
81
 
83
 
82
const mapDispatchToProps = {
84
const mapDispatchToProps = {
83
  addNotification: (notification) => addNotification(notification),
85
  addNotification: (notification) => addNotification(notification),
Línea 84... Línea 86...
84
};
86
}
85
 
87