Remove unused and ignore lock files

This commit is contained in:
Sambo Chea 2020-06-04 09:13:30 +07:00
parent 8fdca1e803
commit fb0ddbd02c
3 changed files with 3 additions and 5147 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
node_modules node_modules
.idea .idea
package-lock.json
yarn.lock

5143
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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>
} }
} }