"use client";
import { createContext, useContext } from "react";

interface QuotaContextType {
  quota: number;
  setQuota: React.Dispatch<React.SetStateAction<number>>;
}
const QuotaContext = createContext<QuotaContextType>({} as QuotaContextType);

export const useQuota = () => useContext(QuotaContext);

export { QuotaContext };
