Skip to content

Commit

Permalink
Fixing conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
lucis committed Oct 2, 2018
1 parent e90e9dc commit d0bb54a
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions react/ProductContextProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,10 @@ class ProductContextProvider extends Component {
}

componentDidMount() {
<<<<<<< HEAD
const { prefetchPage } = this.props.runtime
const {
params: { slug },
} = this.props
prefetchPage('store/home')
prefetchPage('store/search')
const loading = this.loading()
const product = this.product()
if (!product && !loading) {
this.props.runtime.navigate({
page: 'store/search',
params: { term: slug },
})
}
=======
this.checkNotFoundProduct();
>>>>>>> Fixing ProductNotFound Redirection
}

componentDidUpdate() {
Expand All @@ -74,11 +60,7 @@ class ProductContextProvider extends Component {
}

getData = () => {
<<<<<<< HEAD
const { query, runtime: { account } } = this.props
=======
const { query } = this.props
>>>>>>> Fixing ProductNotFound Redirection
const product = this.product()
const {
titleTag,
Expand Down

0 comments on commit d0bb54a

Please sign in to comment.