Show steps in task page (#585)
This commit is contained in:
9
skyvern-frontend/src/hooks/useCostCalculator.ts
Normal file
9
skyvern-frontend/src/hooks/useCostCalculator.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { CostCalculatorContext } from "@/store/CostCalculatorContext";
|
||||
import { useContext } from "react";
|
||||
|
||||
function useCostCalculator() {
|
||||
const costCalculator = useContext(CostCalculatorContext);
|
||||
return costCalculator;
|
||||
}
|
||||
|
||||
export { useCostCalculator };
|
||||
Reference in New Issue
Block a user