Skip to content

Commit

Permalink
feat: changed start salary (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrymVei authored Sep 1, 2023
1 parent 1f69252 commit bb8c984
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/summersplash2022/utils/calculator.tsx
Original file line number Diff line number Diff line change
@@ -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<Degree>('masters');
const startSalery: Record<Degree, number> = {
bachelor: 580000,
masters: 600000,
};
const totalSalary = startSalery[degree];

const [isMobile, setIsMobile] = useState(false);
Expand Down

1 comment on commit bb8c984

@vercel
Copy link

@vercel vercel bot commented on bb8c984 Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

variant-no – ./

www.variant.no
variant-no-git-main-variant1.vercel.app
variant-no-variant1.vercel.app

Please sign in to comment.