Show steps in task page (#585)

This commit is contained in:
Kerem Yilmaz
2024-07-11 08:03:18 -07:00
committed by GitHub
parent 1e043445a4
commit 240e591280
9 changed files with 157 additions and 51 deletions

View File

@@ -0,0 +1,8 @@
import { StepApiResponse } from "@/api/types";
import { createContext } from "react";
type TaskCostCalculator = (steps: Array<StepApiResponse>) => number;
const CostCalculatorContext = createContext<TaskCostCalculator | null>(null);
export { CostCalculatorContext };