Skip to content

Commit

Permalink
feat(project): new 2.0.0 app version
Browse files Browse the repository at this point in the history
- Add new version

Breaking changes
  • Loading branch information
“Anton committed Jun 3, 2022
1 parent 8ccde10 commit badc3c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jw-ott-webapp",
"version": "1.1.1",
"version": "2.0.0",
"main": "index.js",
"repository": "https://github.com/jwplayer/ott-web-app.git",
"author": "Robin van Zanten",
Expand Down
4 changes: 3 additions & 1 deletion src/hooks/useOffers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const useOffers = () => {
const {
cleeng: { cleengSandbox, monthlyOfferId, yearlyOfferId },
accessModel,
} = useConfigStore(({ getCleengData, accessModel }) => ({ cleeng: getCleengData(), accessModel }));
} = useConfigStore(({ getCleengData, accessModel }) => ({ cleeng: getCleengData(), accessModel }), shallow);

console.warn(cleengSandbox, monthlyOfferId, yearlyOfferId);

const { requestedMediaOffers } = useCheckoutStore(({ requestedMediaOffers }) => ({ requestedMediaOffers }), shallow);
const hasPremierOffer = (requestedMediaOffers || []).some((offer) => offer.premier);
Expand Down

0 comments on commit badc3c7

Please sign in to comment.