Skip to content

Commit 51f2ed4

Browse files
authored
🔥 Remove unnecessary files (#240)
1 parent 4f92c14 commit 51f2ed4

File tree

12 files changed

+28
-536
lines changed

12 files changed

+28
-536
lines changed

frontend/src/components/Apps/EmptyState.tsx

Lines changed: 0 additions & 80 deletions
This file was deleted.

frontend/src/components/Common/SidebarItems.tsx

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ import { CgOrganisation } from "react-icons/cg"
1919
import {
2020
FaCog,
2121
FaHome,
22-
FaLayerGroup,
23-
FaQuestionCircle,
24-
FaTools,
22+
FaLayerGroup
2523
} from "react-icons/fa"
2624

2725
import { useCurrentUser } from "../../hooks/useAuth"
@@ -61,14 +59,6 @@ const getSidebarItems = ({ team }: { team: string }): Array<Item> => {
6159
params: { team },
6260
}),
6361
},
64-
{
65-
icon: FaTools,
66-
title: "Resources",
67-
...link({
68-
to: "/$team/resources",
69-
params: { team },
70-
}),
71-
},
7262
{
7363
icon: FaCog,
7464
title: "Team Settings",
@@ -83,15 +73,7 @@ const getSidebarItems = ({ team }: { team: string }): Array<Item> => {
8373
...link({
8474
to: "/teams/all",
8575
}),
86-
},
87-
{
88-
icon: FaQuestionCircle,
89-
title: "Help",
90-
...link({
91-
to: "/$team/help",
92-
params: { team },
93-
}),
94-
},
76+
}
9577
]
9678
}
9779

@@ -138,8 +120,8 @@ const SidebarItems = ({ onClose }: SidebarItemsProps) => {
138120
</FlexLink>
139121
))
140122

141-
const menu = listItems.slice(0, 4)
142-
const others = listItems.slice(4)
123+
const menu = listItems.slice(0, 3)
124+
const others = listItems.slice(3)
143125

144126
return (
145127
<>

frontend/src/components/Items/AddItem.tsx

Lines changed: 0 additions & 114 deletions
This file was deleted.

frontend/src/components/Items/EditItem.tsx

Lines changed: 0 additions & 124 deletions
This file was deleted.

0 commit comments

Comments
 (0)