Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 1 | Rev 62 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

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