Skip to content

Commit

Permalink
salary
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Feb 17, 2024
1 parent fb857f7 commit 93784ca
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions apps/dashboard/src/components/category.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const categories = {
rent: "rent",
income: "income",
equipment: "equipment",
salery: "salery",
salary: "salary",
transfer: "transfer",
internet_and_telephone: "internet_and_telephone",
facilities_expenses: "facilities_expenses",
Expand All @@ -31,7 +31,7 @@ export const mapCategoryColor = (name: string) => {
[categories.rent]: "#A843CB",
[categories.income]: "#00C969",
[categories.equipment]: "#E9BE26",
[categories.salery]: "#D3E500",
[categories.salary]: "#D3E500",
[categories.transfer]: "#FF902B",
[categories.internet_and_telephone]: "#FF8976",
[categories.facilities_expenses]: "#A8AABC",
Expand All @@ -53,7 +53,7 @@ export function CategoryIcon({ name, size = 18 }) {
[categories.rent]: <Icons.HomeWork style={{ color }} size={size} />,
[categories.income]: <Icons.Payments style={{ color }} size={size} />,
[categories.equipment]: <Icons.Devices style={{ color }} size={size} />,
[categories.salery]: <Icons.Salery style={{ color }} size={size} />,
[categories.salary]: <Icons.Salary style={{ color }} size={size} />,
[categories.transfer]: (
<Icons.AccountBalance style={{ color }} size={size} />
),
Expand Down
2 changes: 0 additions & 2 deletions apps/dashboard/src/components/charts/bar-chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ export function BarChart({ data }) {
const isDesktop = useMediaQuery("(min-width: 768px)");
const { resolvedTheme } = useTheme();

console.log(resolvedTheme);

const formattedData = data.result.map((item) => ({
...item,
meta: data.meta,
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
internet_and_telephone: "Internet & Telephone",
rent: "Rent",
equipment: "Equipment",
salery: "Salery",
salary: "Salary",
income: "Income",
transfer: "Transfer",
activity: "Activity",
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/locales/sv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
internet_and_telephone: "Internet och telefon",
rent: "Hyra",
equipment: "Utrustning",
salery: "Lön",
salary: "Lön",
income: "Inkomst",
transfer: "Överföring",
activity: "Aktivitet",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -473,5 +473,5 @@ export const Icons = {
Email: MdOutlineEmail,
QuestionAnswer: MdOutlineQuestionAnswer,
Click: MdSignalCellularAlt,
Salery: MdOutlineLocalAtm,
Salary: MdOutlineLocalAtm,
};

0 comments on commit 93784ca

Please sign in to comment.