From b51523b9cf974bae1b718b597a5ac47e9201e7bc Mon Sep 17 00:00:00 2001 From: Milind Goel <45682747+milindgoel15@users.noreply.github.com> Date: Wed, 21 Jun 2023 00:30:44 +0530 Subject: [PATCH 1/2] fix a link to cart-provider page (#327) --- docs/docs/usage/actions/redirectToCheckout().mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/usage/actions/redirectToCheckout().mdx b/docs/docs/usage/actions/redirectToCheckout().mdx index 8fcd5b9e..794b48b3 100644 --- a/docs/docs/usage/actions/redirectToCheckout().mdx +++ b/docs/docs/usage/actions/redirectToCheckout().mdx @@ -9,7 +9,7 @@ To send the buyer to Stripe's Checkout experience, use `redirectToCheckout` (the preferred way) or refer to products in your Stripe dashboard to fulfill purchases. With use-shopping-cart's `redirectToCheckout`, you don't need to pass anything more than the sessionId you get -from Stripe because all of the config is handled in the [CartProvider](docs/usage/cart-provider) props. +from Stripe because all of the config is handled in the [CartProvider](docs/usage/components/cart-provider) props. This is how you'd use `redirectToCheckout()` with a serverless function: From da9fcab71ac20925ca44c81f4116b666cf2d4361 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Tue, 20 Jun 2023 15:01:02 -0400 Subject: [PATCH 2/2] add milindgoel15 as a contributor for doc (#328) * update README.md * update docs/docs/welcome/contributors.mdx * update .all-contributorsrc --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> --- .all-contributorsrc | 9 +++++++++ README.md | 3 ++- docs/docs/welcome/contributors.mdx | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 3c0391cf..f25d4420 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -207,6 +207,15 @@ "contributions": [ "code" ] + }, + { + "login": "milindgoel15", + "name": "Milind Goel", + "avatar_url": "https://avatars.githubusercontent.com/u/45682747?v=4", + "profile": "https://milindgoel.vercel.app/", + "contributions": [ + "doc" + ] } ], "contributorsPerLine": 7, diff --git a/README.md b/README.md index ed4d93a9..0346ab0d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # use-shopping-cart -[![All Contributors](https://img.shields.io/badge/all_contributors-19-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-20-orange.svg?style=flat-square)](#contributors-) [![NPM](https://img.shields.io/npm/v/use-shopping-cart.svg?style=flat-square)](https://www.npmjs.com/package/use-shopping-cart) @@ -69,6 +69,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d Lucy Macartney
Lucy Macartney

📖 🖋 💡 brendanmorrell
brendanmorrell

💻 Tom
Tom

💻 + Milind Goel
Milind Goel

📖 diff --git a/docs/docs/welcome/contributors.mdx b/docs/docs/welcome/contributors.mdx index 3aab9b28..5aeb17e2 100644 --- a/docs/docs/welcome/contributors.mdx +++ b/docs/docs/welcome/contributors.mdx @@ -35,6 +35,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d Lucy Macartney
Lucy Macartney

📖 🖋 💡 brendanmorrell
brendanmorrell

💻 Tom
Tom

💻 + Milind Goel
Milind Goel

📖