Remove unused and ignore lock files
This commit is contained in:
parent
8fdca1e803
commit
fb0ddbd02c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,4 @@
|
|||||||
node_modules
|
node_modules
|
||||||
.idea
|
.idea
|
||||||
|
package-lock.json
|
||||||
|
yarn.lock
|
5143
package-lock.json
generated
5143
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -18,8 +18,6 @@ class BaseContextProvider extends React.Component {
|
|||||||
|
|
||||||
getContext() {
|
getContext() {
|
||||||
return BaseContext
|
return BaseContext
|
||||||
|
|
||||||
throw new Error('Please Implement Context')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
@ -27,7 +25,6 @@ class BaseContextProvider extends React.Component {
|
|||||||
const Context = this.getContext()
|
const Context = this.getContext()
|
||||||
const { children } = this.props
|
const { children } = this.props
|
||||||
|
|
||||||
//
|
|
||||||
return <Context.Provider value={contextReturn}>{children}</Context.Provider>
|
return <Context.Provider value={contextReturn}>{children}</Context.Provider>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user