Skip to content

Commit

Permalink
made link optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudo-Thijn committed Jan 29, 2025
1 parent 473a65a commit b10718c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/entities/menu/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ export class Menu implements TMenu {
items: z.array(z.object({
name: z.string().min(1, 'naam is verplicht'),
slug: z.string().min(1, 'slug is verplicht'),
link: z.string().min(1, 'link is verplicht'),
link: z.string(),
description: z.string(),
icon: z.string(),
items: z.array(z.object({
name: z.string().min(1, 'naam is verplicht'),
slug: z.string().min(1, 'slug is verplicht'),
link: z.string().min(1, 'link is verplicht'),
link: z.string(),
description: z.string(),
icon: z.string(),
})),
Expand Down

0 comments on commit b10718c

Please sign in to comment.