Skip to content

Commit 7f92f4a

Browse files
committed
Remove offers, items, and payments from sidebar
1 parent 3943e91 commit 7f92f4a

File tree

5 files changed

+2
-123
lines changed

5 files changed

+2
-123
lines changed

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/payments/items/page-client.tsx

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

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/payments/items/page.tsx

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

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/payments/offers/page-client.tsx

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

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/payments/offers/page.tsx

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

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/sidebar-layout.tsx

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ import {
2424
} from "@stackframe/stack-ui";
2525
import {
2626
Book,
27-
Box,
28-
CreditCard,
2927
Globe,
3028
KeyRound,
3129
Link as LinkIcon,
@@ -214,6 +212,7 @@ const navigationItems: (Label | Item | Hidden)[] = [
214212
regex: /^\/projects\/[^\/]+\/email-themes\/[^\/]+$/,
215213
type: 'hidden',
216214
},
215+
/*
217216
{
218217
name: "Payments",
219218
type: 'label',
@@ -224,23 +223,7 @@ const navigationItems: (Label | Item | Hidden)[] = [
224223
regex: /^\/projects\/[^\/]+\/payments$/,
225224
icon: CreditCard,
226225
type: 'item',
227-
},
228-
{
229-
name: "Offers",
230-
href: "/payments/offers",
231-
regex: /^\/projects\/[^\/]+\/payments\/offers$/,
232-
icon: SquarePen,
233-
type: 'item',
234-
requiresDevFeatureFlag: true,
235-
},
236-
{
237-
name: "Items",
238-
href: "/payments/items",
239-
regex: /^\/projects\/[^\/]+\/payments\/items$/,
240-
icon: Box,
241-
type: 'item',
242-
requiresDevFeatureFlag: true,
243-
},
226+
},*/
244227
{
245228
name: "Configuration",
246229
type: 'label'

0 commit comments

Comments
 (0)