Skip to content

Commit 563062e

Browse files
committed
Rename and add new categories
1 parent 56d823f commit 563062e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

lego-webapp/pages/lending/FilterSearch.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import {
77
Speaker,
88
Armchair,
99
Boxes,
10+
Handshake,
11+
Music4,
1012
} from 'lucide-react';
1113
import { useRef, useEffect, useState } from 'react';
1214
import ComponentAsCheckBox from '~/components/Form/ComponentAsCheckBox';
@@ -29,9 +31,9 @@ type Props = {
2931
export const categoryIconMap: Record<FilterLendingCategory, ReactNode> = {
3032
outdoors: <TentTree />,
3133
photography: <Camera />,
32-
instrument: <Guitar />,
33-
speaker: <Speaker />,
34+
music: <Music4 />,
3435
furniture: <Armchair />,
36+
services: <Handshake />,
3537
other: <Boxes />,
3638
};
3739

lego-webapp/utils/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ export const Keyboard = {
1414
export const LENDABLE_CATEGORY = {
1515
outdoors: 'Utendørs',
1616
photography: 'Fotografi',
17-
instrument: 'Instrument',
18-
speaker: 'Høytaler',
17+
music: 'Musikk',
1918
furniture: 'Møbler',
19+
services: 'Tjenester',
2020
other: 'Annet',
2121
};
2222

0 commit comments

Comments
 (0)