1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
commons/src/App.tsx

21 lines
478 B
TypeScript

import React, { Component } from 'react'
import styles from './App.module.scss'
import { User, userDefaults } from './context/User'
import './styles/global.scss'
import Routes from './Routes'
class App extends Component {
public render() {
return (
<div className={styles.app}>
<User.Provider value={userDefaults}>
<Routes />
</User.Provider>
</div>
)
}
}
export default App