feat: deal group and stuff
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
import { useParams } from "@tanstack/react-router";
|
||||
import {
|
||||
DealPageContextProvider,
|
||||
useDealPageContext,
|
||||
} from "../../LeadsPage/contexts/DealPageContext.tsx";
|
||||
import { DealPageContextProvider, useDealPageContext } from "../../LeadsPage/contexts/DealPageContext.tsx";
|
||||
import ProductAndServiceTab from "../../LeadsPage/tabs/ProductAndServiceTab/ProductAndServiceTab.tsx";
|
||||
import { FC, useEffect } from "react";
|
||||
import { DealService } from "../../../client";
|
||||
@@ -20,7 +17,8 @@ const DealPageContent: FC<Props> = ({ dealId }) => {
|
||||
return <ProductAndServiceTab />;
|
||||
};
|
||||
const DealPageWrapper: FC<{ children: React.ReactNode }> = ({ children }) => {
|
||||
return <DealPageContextProvider>{children}</DealPageContextProvider>;
|
||||
return <DealPageContextProvider refetchDeals={async () => {
|
||||
}}>{children}</DealPageContextProvider>;
|
||||
};
|
||||
export const DealPage = () => {
|
||||
const { dealId } = useParams({ strict: false });
|
||||
|
||||
Reference in New Issue
Block a user