Skip to content

Commit

Permalink
Provide default value for breadcrumbAction in goto wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Dec 20, 2024
1 parent 80ff07b commit 00d3009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/utils/breadcrumbs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const breadcrumbs = createBreadcrumbs([homeCrumb]);

export function goto(
url: string,
_opts: { crumbs: typeof breadcrumbs; label: string; breadcrumbAction: 'push' | 'replace' }
_opts: { crumbs: typeof breadcrumbs; label: string; breadcrumbAction: 'push' | 'replace' } = {}
) {
const opts = {
crumbs: breadcrumbs,
Expand Down

0 comments on commit 00d3009

Please sign in to comment.