fixing stripe context
This commit is contained in:
parent
5f0003b7e2
commit
05774ee117
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ import React, { createContext, useContext, useEffect, useState } from 'react';
|
||||||
import { loadStripe } from '@stripe/stripe-js';
|
import { loadStripe } from '@stripe/stripe-js';
|
||||||
import { Elements } from '@stripe/react-stripe-js';
|
import { Elements } from '@stripe/react-stripe-js';
|
||||||
import config from '../config';
|
import config from '../config';
|
||||||
import apiClient from '@services';
|
import apiClient from '@services/api';
|
||||||
|
|
||||||
// Create the context
|
// Create the context
|
||||||
const StripeContext = createContext();
|
const StripeContext = createContext();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue