-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
31 lines (30 loc) · 934 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import React from 'react'
import ReactDOM from 'react-dom'
import './index.css'
import App from './App'
import { ProductsProvider } from './context/products_context'
import { FilterProvider } from './context/filter_context'
import { CartProvider } from './context/cart_context'
import { UserProvider } from './context/user_context'
import { Auth0Provider } from '@auth0/auth0-react'
//dev-0mcvzbavr6nln4eq.us.auth0.com
//CG0nIN7iRK7Pe5DnpZgvg7aQHVJIOo7e
ReactDOM.render(
<Auth0Provider
domain={'dev-0mcvzbavr6nln4eq.us.auth0.com'}
clientId={'CG0nIN7iRK7Pe5DnpZgvg7aQHVJIOo7e'}
redirectUri={window.location.origin}
cacheLocation='localstorage'
>
<UserProvider>
<ProductsProvider>
<FilterProvider>
<CartProvider>
<App />
</CartProvider>
</FilterProvider>
</ProductsProvider>
</UserProvider>
</Auth0Provider>,
document.getElementById('root')
)