diff --git a/.gitignore b/.gitignore index bcbf6047a..50d4285ba 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ yarn-debug.log* yarn-error.log* # local env files +.env .env.local .env.development.local .env.test.local diff --git a/README.md b/README.md index e73a9747e..8eb69383c 100644 --- a/README.md +++ b/README.md @@ -89,8 +89,8 @@ Our commitment to Open Source can be found [here](https://vercel.com/oss). 5. Duplicate `.env.template` and rename it to `.env.local`. 6. Add proper store values to `.env.local`. 7. Run `yarn dev` to build and watch for code changes -8. The development branch is `development` (this is the branch pull requests should be made against). - On a release, `develop` branch is rebased into `master`. +8. The development branch is `canary` (this is the branch pull requests should be made against). + On a release, `canary` branch is rebased into `master`. diff --git a/assets/base.css b/assets/base.css index 781ebe0ac..f854065ba 100644 --- a/assets/base.css +++ b/assets/base.css @@ -102,8 +102,6 @@ a { } .animated { - -webkit-animation-duration: 1s; - animation-duration: 1s; -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; diff --git a/components/cart/CartItem/CartItem.tsx b/components/cart/CartItem/CartItem.tsx index 283f3fa40..2769ac715 100644 --- a/components/cart/CartItem/CartItem.tsx +++ b/components/cart/CartItem/CartItem.tsx @@ -8,6 +8,13 @@ import useUpdateItem from '@framework/cart/use-update-item' import useRemoveItem from '@framework/cart/use-remove-item' import s from './CartItem.module.css' +type ItemOption = { + name: string, + nameId: number, + value: string, + valueId: number +} + const CartItem = ({ item, currencyCode, @@ -88,12 +95,20 @@ const CartItem = ({