import React from "react";

import LoadingProvider from "./LoadingProvider";
import TooltipProvider from "./TooltipProvider";
import StripeEmbeddedProvider from "./StripeEmbeddedProvider";

import SharedProviders from "./SharedProviders";

export default ({ children }) => {
  return (
    <LoadingProvider>
      <TooltipProvider>
        <StripeEmbeddedProvider>
          <SharedProviders>{children}</SharedProviders>
        </StripeEmbeddedProvider>
      </TooltipProvider>
    </LoadingProvider>
  );
};
