Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 61 Rev 62
Línea 2... Línea 2...
2
import ReactDOM from "react-dom";
2
import ReactDOM from "react-dom";
3
import { Provider } from "react-redux";
3
import { Provider } from "react-redux";
4
import { store } from "../redux/store";
4
import { store } from "../redux/store";
5
import NotificationAlert from "../shared/notification/NotificationAlert";
5
import NotificationAlert from "../shared/notification/NotificationAlert";
6
import Navbar from "./navbar/Navbar";
6
import Navbar from "./navbar/Navbar";
-
 
7
import Navbar2 from './navbar/Navbar2'
Línea 7... Línea 8...
7
 
8
 
8
ReactDOM.render(
9
ReactDOM.render(
9
  <Provider store={store}>
10
  <Provider store={store}>
10
    <Navbar navbarVars={navbarVars} />
11
    <Navbar navbarVars={navbarVars} />
Línea 14... Línea 15...
14
);
15
);
15
{
16
{
16
  window.location.pathname === '/dashboard2' && (
17
  window.location.pathname === '/dashboard2' && (
17
    ReactDOM.render(
18
    ReactDOM.render(
18
      <Provider store={store}>
19
      <Provider store={store}>
19
        <Navbar navbarVars={navbarVars} />
20
        <Navbar2 navbarVars={navbarVars} />
20
        <NotificationAlert />
21
        <NotificationAlert />
21
      </Provider>,
22
      </Provider>,
22
      document.getElementById("react_navbar_2")
23
      document.getElementById("react_navbar_2")
23
    )
24
    )
24
  )
25
  )