1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-04 21:30:05 +00:00

chore(web): use AppContext instead of useTokens Hook

This commit is contained in:
2022-04-21 04:37:40 +05:00
parent 23cf8fa06f
commit 36628551ae
3 changed files with 16 additions and 11 deletions

View File

@@ -2,10 +2,13 @@ import React from 'react'
import ReactDOM from 'react-dom'
import './index.css'
import App from './App'
import AppContextProvider from './context/appContext'
ReactDOM.render(
<React.StrictMode>
<App />
<AppContextProvider>
<App />
</AppContextProvider>
</React.StrictMode>,
document.getElementById('root')
)