/* eslint-disable react-hooks/exhaustive-deps */
import { ReactNode } from "react";
import { SellForm } from "../types";

const Child = ({ children }: { children?: ReactNode | undefined }) => {
  return <>{children}</>;
};

const Provider = ({ children }: { children?: ReactNode | undefined }) => {
  return (
    <SellForm.Provider mode="onChange">
      <Child>{children}</Child>
    </SellForm.Provider>
  );
};

export { Provider };
