fixing stripe context

This commit is contained in:
2ManyProjects 2025-04-26 19:52:18 -05:00
parent 5f0003b7e2
commit 05774ee117

View file

@ -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();