change package json

This commit is contained in:
2020-07-15 13:37:51 +07:00
parent 47f80670cf
commit decc6acca9
5 changed files with 10871 additions and 24 deletions

View File

@@ -1,6 +1,5 @@
import React from 'react'
import AuthContextProvider from 'auth-context-provider'
import {wrapAuthContext} from 'auth-context-provider'
import FormLogin from './FormLogin'
const App = () => {
@@ -9,10 +8,7 @@ const App = () => {
const authUrl = 'http://localhost:8080/authenticate'
const EnhancedApp = () => {
return <AuthContextProvider authUrl={authUrl}>
<App />
</AuthContextProvider>
}
export default wrapAuthContext(App, {
authUrl
})
export default EnhancedApp

File diff suppressed because it is too large Load Diff