diff --git a/client/src/pages/Home/components/Dialog/Dialog.jsx b/client/src/pages/Home/components/Dialog/Dialog.jsx index ef87ca3..37d520c 100644 --- a/client/src/pages/Home/components/Dialog/Dialog.jsx +++ b/client/src/pages/Home/components/Dialog/Dialog.jsx @@ -7,7 +7,10 @@ import Button from "@/common/components/Button"; export const Dialog = ({onClose, open}) => { - const {rounds, updateRounds, demandTable, updateDemandTable} = useContext(SettingsContext); + const { + rounds, updateRounds, demandTable, updateDemandTable, startCapital, setStartCapital, costPerCake, + setCostPerCake, costPerRound, setCostPerRound, maxProduction, setMaxProduction, maxPrice, setMaxPrice + } = useContext(SettingsContext); const deleteDemand = (key) => { let newDemandTable = {...demandTable}; @@ -40,10 +43,10 @@ export const Dialog = ({onClose, open}) => {