Skip to content

Commit

Permalink
fix(shared): fix to src/libs/payments
Browse files Browse the repository at this point in the history
commented out import and const store; change let to const on line 10
  • Loading branch information
CuriousMagpie committed Dec 2, 2024
1 parent 51470f7 commit 8d21048
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/client/src/libs/payments.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import getStore from '@/store';
// import getStore from '@/store';

export function setup () { // eslint-disable-line import/prefer-default-export
const store = getStore();
// const store = getStore();

// Load the payment scripts

// Stripe
const stripeScript = document.createElement('script');
let firstScript = document.getElementsByTagName('script')[0];
const firstScript = document.getElementsByTagName('script')[0];
stripeScript.async = true;
stripeScript.src = 'https://js.stripe.com/v3/';
firstScript.parentNode.insertBefore(stripeScript, firstScript);
Expand Down

0 comments on commit 8d21048

Please sign in to comment.