Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2613 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 2613 Rev 2617
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import { createRoot } from 'react-dom/client'
2
import { createRoot } from 'react-dom/client'
-
 
3
import { BrowserRouter } from 'react-router-dom'
Línea 3... Línea 4...
3
 
4
 
Línea 4... Línea 5...
4
import { axios } from './utils'
5
import { axios } from './utils'
5
 
6
 
Línea 12... Línea 13...
12
 
13
 
13
const servicesUrl = container.getAttribute('data-service')
14
const servicesUrl = container.getAttribute('data-service')
Línea 14... Línea 15...
14
axios.create(`https://${servicesUrl}`)
15
axios.create(`https://${servicesUrl}`)
-
 
16
 
15
 
17
root.render(
16
root.render(
18
  <BrowserRouter>
17
  <ProvidersWrapper>
19
    <ProvidersWrapper>
18
    <ErrorBoundary>
20
      <ErrorBoundary>
19
      <App />
21
        <App />
-
 
22
      </ErrorBoundary>
20
    </ErrorBoundary>
23
    </ProvidersWrapper>