From bb8c984de5df41dc8c2f451c01c9e9e1fe837d84 Mon Sep 17 00:00:00 2001 From: Trym Veiby <110395932+TrymVei@users.noreply.github.com> Date: Fri, 1 Sep 2023 17:24:17 +0200 Subject: [PATCH] feat: changed start salary (#406) --- src/summersplash2022/utils/calculator.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/summersplash2022/utils/calculator.tsx b/src/summersplash2022/utils/calculator.tsx index a36b6cd1d..91a1e1bd5 100644 --- a/src/summersplash2022/utils/calculator.tsx +++ b/src/summersplash2022/utils/calculator.tsx @@ -1,12 +1,16 @@ import { useEffect, useState } from 'react'; import style from 'src/advanced-calculator/calculator.module.css'; -import { Degree, startSalery } from 'src/advanced-calculator/config'; +import { Degree } from 'src/advanced-calculator/config'; import Counter from 'src/advanced-calculator/Counter'; import { getAverageBonus } from 'src/advanced-calculator/helpers/getHistoricBonus'; import { formatCurrencyFromNumber } from 'src/advanced-calculator/helpers/utils'; const Calculator = () => { const [degree, setDegree] = useState('masters'); + const startSalery: Record = { + bachelor: 580000, + masters: 600000, + }; const totalSalary = startSalery[degree]; const [isMobile, setIsMobile] = useState(false);