Skip to content

Commit

Permalink
Merge pull request #42 from gocardless/fixes-to-readme
Browse files Browse the repository at this point in the history
Fixes code block in README.md
  • Loading branch information
muntasirsyed authored Nov 6, 2023
2 parents 0fae7da + 11b09b2 commit 6fa7e03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {
useGoCardlessDropin,
GoCardlessDropinOptions,
GoCardlessDropinOnSuccess,
}
} from "@gocardless/react-dropin";

// Display a button that opens the Dropin on click, starting a checkout
// flow for the specified Billing Request Flow.
Expand Down Expand Up @@ -80,7 +80,7 @@ const App: FunctionComponent = () => {
}, []);

// Only show the button once we have a Billing Request Flow ID
return token === null ? (
return flowID === null ? (
<div className="loader"></div>
) : (
<DropinButton billingRequestFlowID={flowID} environment={"live"} />
Expand All @@ -99,7 +99,7 @@ Stories are deployed to the `gh-pages` branch of this repo, and hosted at

## Publishing

CircleCI is configured to publish changes us, via a build pipeline.
CircleCI is configured to publish changes for us, via a build pipeline.

To trigger a new package version:

Expand Down

0 comments on commit 6fa7e03

Please sign in to comment.